changeset 1776:33f736f68b52 libavcodec

tiny warning fix
author mellum
date Sun, 01 Feb 2004 22:56:54 +0000
parents 3875b8b30399
children d183026acdfa
files utils.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Sat Jan 31 22:58:32 2004 +0000
+++ b/utils.c	Sun Feb 01 22:56:54 2004 +0000
@@ -822,7 +822,7 @@
     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);
 }