Commit ac7d0c79 authored by Michael Niedermayer's avatar Michael Niedermayer

mp3dec: ask for 8khz switch point mp3s

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a96e3a3e
...@@ -205,6 +205,8 @@ static void ff_compute_band_indexes(MPADecodeContext *s, GranuleDef *g) ...@@ -205,6 +205,8 @@ static void ff_compute_band_indexes(MPADecodeContext *s, GranuleDef *g)
{ {
if (g->block_type == 2) { if (g->block_type == 2) {
if (g->switch_point) { 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 /* if switched mode, we handle the 36 first samples as
long blocks. For 8000Hz, we handle the 72 first long blocks. For 8000Hz, we handle the 72 first
exponents as long blocks */ exponents as long blocks */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment