mirror of https://github.com/mpv-player/mpv
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:
parent
5da2252a2c
commit
1147a78695
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue