diff options
Diffstat (limited to 'libmpcodecs/ad_libdv.c')
-rw-r--r-- | libmpcodecs/ad_libdv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpcodecs/ad_libdv.c b/libmpcodecs/ad_libdv.c index a193369047..9107035be1 100644 --- a/libmpcodecs/ad_libdv.c +++ b/libmpcodecs/ad_libdv.c @@ -6,6 +6,8 @@ #include <math.h> #include "config.h" +#include "mp_msg.h" +#include "help_mp.h" #ifdef HAVE_LIBDV095 @@ -86,7 +88,7 @@ static int decode_audio(sh_audio_t *audio, unsigned char *buf, int minlen, int m dv_parse_header(decoder, dv_audio_frame); if(xx!=decoder->frame_size) - printf("warning! audio framesize differs! read=%d hdr=%d \n", + mp_msg(MSGT_GLOBAL,MSGL_WARN,MSGTR_MPCODECS_AudioFramesizeDiffers, xx, decoder->frame_size); if (dv_decode_full_audio(decoder, dv_audio_frame,(int16_t**) audioBuffers)) |