Mercurial > libavcodec.hg
diff liba52/resample.c @ 1602:fdb8244da1e5 libavcodec
av_log patch(2 of ?) by (Michel Bardiaux <mbardiaux at peaktime dot be>)
| author | michael |
|---|---|
| date | Mon, 03 Nov 2003 18:06:54 +0000 |
| parents | e101d1cffec6 |
| children | ef2149182f1c |
line wrap: on
line diff
--- a/liba52/resample.c Mon Nov 03 17:42:50 2003 +0000 +++ b/liba52/resample.c Mon Nov 03 18:06:54 2003 +0000 @@ -24,7 +24,7 @@ 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 @@ 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; }
