summaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-28 04:39:10 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-28 04:39:10 +0200
commitac7d0c79c3f6b4ca5a9d1b333107684453191811 (patch)
tree693be8abbd5618fe451d1696d363d6b969314c23 /libavcodec/mpegaudiodec.c
parenta96e3a3e77bdcc9ac8692f1547d867ec58a57e49 (diff)
downloadffmpeg-streaming-ac7d0c79c3f6b4ca5a9d1b333107684453191811.zip
ffmpeg-streaming-ac7d0c79c3f6b4ca5a9d1b333107684453191811.tar.gz
mp3dec: ask for 8khz switch point mp3s
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index d6de1f7..46ce874 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -205,6 +205,8 @@ static void ff_compute_band_indexes(MPADecodeContext *s, GranuleDef *g)
{
if (g->block_type == 2) {
if (g->switch_point) {
+ if(s->sample_rate_index == 8)
+ av_log_ask_for_sample(s->avctx, "switch point in 8khz\n");
/* if switched mode, we handle the 36 first samples as
long blocks. For 8000Hz, we handle the 72 first
exponents as long blocks */
OpenPOWER on IntegriCloud