# HG changeset patch # User diego # Date 1234611794 0 # Node ID bc49856e5024c9a83000350bb88696477f6af1a5 # Parent e9174807756c761707b667bc0c6e814a53a9c520 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' diff -r e9174807756c -r bc49856e5024 libmpcodecs/mp_image.h --- a/libmpcodecs/mp_image.h Sat Feb 14 08:37:29 2009 +0000 +++ b/libmpcodecs/mp_image.h Sat Feb 14 11:43:14 2009 +0000 @@ -4,6 +4,7 @@ #include #include #include +#include "mp_msg.h" //--------- codec's requirements (filled by the codec/vf) --------- @@ -204,7 +205,7 @@ 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