diff options
author | Falk Hüffner <mellum@users.sourceforge.net> | 2004-02-01 22:56:54 +0000 |
---|---|---|
committer | Falk Hüffner <mellum@users.sourceforge.net> | 2004-02-01 22:56:54 +0000 |
commit | 95ba2c8f433550de45f6897ee1a92b2315f3f7cd (patch) | |
tree | 95b7d47c2dcac9f4e2db034b12320bf58b1d2f37 | |
parent | 4aa533be0335877db329e588621a67e5f924a313 (diff) | |
download | ffmpeg-95ba2c8f433550de45f6897ee1a92b2315f3f7cd.tar.gz |
tiny warning fix
Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 2fb82c347a..0f123b7b32 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -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); } |