Pass a proper context to av_log()