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'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28553 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2009-02-14 11:43:14 +00:00
parent 5da2252a2c
commit 1147a78695
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "mp_msg.h"
//--------- codec's requirements (filled by the codec/vf) --------- //--------- codec's requirements (filled by the codec/vf) ---------
@ -204,7 +205,7 @@ static inline void mp_image_setfmt(mp_image_t* mpi,unsigned int out_fmt){
mpi->chroma_y_shift=1; mpi->chroma_y_shift=1;
return; 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; mpi->bpp=0;
} }
#endif #endif