From 95ba2c8f433550de45f6897ee1a92b2315f3f7cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Falk=20H=C3=BCffner?= <mellum@users.sourceforge.net>
Date: Sun, 1 Feb 2004 22:56:54 +0000
Subject: [PATCH] tiny warning fix

Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 2fb82c347a2..0f123b7b320 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);
 }
-- 
GitLab