提交 95ba2c8f 编写于 作者: F Falk Hüffner

tiny warning fix

Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 4aa533be
......@@ -822,7 +822,7 @@ static void av_log_default_callback(AVCodecContext* avctx, int level, const char
if(avctx && print_prefix)
fprintf(stderr, "[%s @ %p]", avctx->codec ? avctx->codec->name : "?", avctx);
print_prefix= (int)strstr(fmt, "\n");
print_prefix= strstr(fmt, "\n") != NULL;
vfprintf(stderr, fmt, vl);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册