tiny warning fix

Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Falk Hüffner 2004-02-01 22:56:54 +00:00
parent 4aa533be03
commit 95ba2c8f43
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}