1
mirror of https://github.com/mpv-player/mpv synced 2024-07-31 16:29:58 +02:00

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

View File

@ -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_image_t* mpi,unsigned int out_fmt){
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