Use a user-provided context for av_log()