[FFmpeg-cvslog] mpegaudiodec: Fix buffer handling on random access
Michael Niedermayer
git at videolan.org
Tue Oct 23 15:12:05 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Oct 21 20:48:21 2012 +0200| [ec444c84cfd30ef34a4e7b4ec7ee77d7e5250d25] | committer: Diego Biurrun
mpegaudiodec: Fix buffer handling on random access
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ec444c84cfd30ef34a4e7b4ec7ee77d7e5250d25
---
libavcodec/mpegaudiodec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 9c5ef26..d08177e 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -1398,6 +1398,7 @@ static int mp_decode_layer3(MPADecodeContext *s)
g = &s->granules[ch][gr];
s->last_buf_size += g->part2_3_length;
memset(g->sb_hybrid, 0, sizeof(g->sb_hybrid));
+ compute_imdct(s, g, &s->sb_samples[ch][18 * gr][0], s->mdct_buf[ch]);
}
}
skip = s->last_buf_size - 8 * main_data_begin;
More information about the ffmpeg-cvslog
mailing list