[MPlayer-cvslog] r28553 - trunk/libmpcodecs/mp_image.h

diego subversion at mplayerhq.hu
Sat Feb 14 12:43:14 CET 2009


Author: diego
Date: Sat Feb 14 12:43:14 2009
New Revision: 28553

Log:
Replace fprintf call by mp_msg, fixes the warning:
In file included from libmpcodecs/vf_fspp.c:58:
libmpcodecs/mp_image.h: In function 'mp_image_setfmt':
libmpcodecs/mp_image.h:207: warning: implicit declaration of function 'please_use_av_log_instead_of_fprintf'

Modified:
   trunk/libmpcodecs/mp_image.h

Modified: trunk/libmpcodecs/mp_image.h
==============================================================================
--- trunk/libmpcodecs/mp_image.h	Sat Feb 14 09:37:29 2009	(r28552)
+++ trunk/libmpcodecs/mp_image.h	Sat Feb 14 12:43:14 2009	(r28553)
@@ -4,6 +4,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include "mp_msg.h"
 
 //--------- codec's requirements (filled by the codec/vf) ---------
 
@@ -204,7 +205,7 @@ static inline void mp_image_setfmt(mp_im
 	mpi->chroma_y_shift=1;
 	return;
     }
-    fprintf(stderr,"mp_image: unknown out_fmt: 0x%X\n",out_fmt);
+    mp_msg(MSGT_DECVIDEO,MSGL_WARN,"mp_image: unknown out_fmt: 0x%X\n",out_fmt);
     mpi->bpp=0;
 }
 #endif



More information about the MPlayer-cvslog mailing list