Skip to content

Commit

Permalink
mp3dec: ask for 8khz switch point mp3s
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
michaelni committed Sep 28, 2012
1 parent a96e3a3 commit ac7d0c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libavcodec/mpegaudiodec.c
Expand Up @@ -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 */
Expand Down

0 comments on commit ac7d0c7

Please sign in to comment.