summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_libdv.c
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-31 00:15:47 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-31 00:15:47 +0000
commitb4c74fb28e7012d2c682896418e5ee573e3614f7 (patch)
tree0ea489773dbba06af0a37771c11f917ec78c7edc /libmpcodecs/ad_libdv.c
parente5782cf37b2f6e340d17a8a9eec6d6461f1fee42 (diff)
downloadmpv-b4c74fb28e7012d2c682896418e5ee573e3614f7.tar.bz2
mpv-b4c74fb28e7012d2c682896418e5ee573e3614f7.tar.xz
Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu with LOTS of modifications by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ad_libdv.c')
-rw-r--r--libmpcodecs/ad_libdv.c4
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))