[FFmpeg-cvslog] r22930 - trunk/libavcodec/amrnbdec.c
vitor
subversion
Wed Apr 21 15:05:26 CEST 2010
Author: vitor
Date: Wed Apr 21 15:05:25 2010
New Revision: 22930
Log:
10l: do not try to unpack DTX frames in AMR-NB decoder
Modified:
trunk/libavcodec/amrnbdec.c
Modified: trunk/libavcodec/amrnbdec.c
==============================================================================
--- trunk/libavcodec/amrnbdec.c Wed Apr 21 15:00:48 2010 (r22929)
+++ trunk/libavcodec/amrnbdec.c Wed Apr 21 15:05:25 2010 (r22930)
@@ -195,7 +195,7 @@ static enum Mode unpack_bitstream(AMRCon
p->bad_frame_indicator = !get_bits1(&gb); // quality bit
skip_bits(&gb, 2); // two padding bits
- if (mode <= MODE_DTX) {
+ if (mode < MODE_DTX) {
uint16_t *data = (uint16_t *)&p->frame;
const uint8_t *order = amr_unpacking_bitmaps_per_mode[mode];
int field_size;
More information about the ffmpeg-cvslog
mailing list