summaryrefslogtreecommitdiff
path: root/libavcodec/liba52
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-11-03 18:06:54 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-11-03 18:06:54 +0000
commit3d0ef6dd52b7db3375249978113847d5dea361a7 (patch)
treee30f7eaaaaa789048968f9219b3a8b4320ba2b7d /libavcodec/liba52
parentea05d9c9c71f916b4dd3c62386286d1da09e0ad6 (diff)
av_log patch(2 of ?) by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2474 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/liba52')
-rw-r--r--libavcodec/liba52/resample.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/liba52/resample.c b/libavcodec/liba52/resample.c
index bb7de9175e..07e2d69478 100644
--- a/libavcodec/liba52/resample.c
+++ b/libavcodec/liba52/resample.c
@@ -24,7 +24,7 @@ void* tmp;
if(mm_accel&MM_ACCEL_X86_MMX){
tmp=a52_resample_MMX(flags,chans);
if(tmp){
- if(a52_resample==NULL) fprintf(stderr, "Using MMX optimized resampler\n");
+ if(a52_resample==NULL) av_log(NULL, AV_LOG_INFO, "Using MMX optimized resampler\n");
a52_resample=tmp;
return tmp;
}
@@ -33,11 +33,11 @@ void* tmp;
tmp=a52_resample_C(flags,chans);
if(tmp){
- if(a52_resample==NULL) fprintf(stderr, "No accelerated resampler found\n");
+ if(a52_resample==NULL) av_log(NULL, AV_LOG_INFO, "No accelerated resampler found\n");
a52_resample=tmp;
return tmp;
}
- fprintf(stderr, "Unimplemented resampler for mode 0x%X -> %d channels conversion - Contact MPlayer developers!\n", flags, chans);
+ av_log(NULL, AV_LOG_ERROR, "Unimplemented resampler for mode 0x%X -> %d channels conversion - Contact MPlayer developers!\n", flags, chans);
return NULL;
}