[FFmpeg-soc] [soc]: r4067 - amr/amrnbfloatdec.c
kmalaussene
subversion at mplayerhq.hu
Tue Feb 17 08:13:29 CET 2009
Author: kmalaussene
Date: Tue Feb 17 08:13:29 2009
New Revision: 4067
Log:
Add failure if the frame_mode is MODE_DTX.
Modified:
amr/amrnbfloatdec.c
Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c Tue Feb 17 08:12:09 2009 (r4066)
+++ amr/amrnbfloatdec.c Tue Feb 17 08:13:29 2009 (r4067)
@@ -969,9 +969,10 @@ static int amrnb_decode_frame(AVCodecCon
// decode the bitstream to AMR parameters
p->cur_frame_mode = decode_bitstream(p, buf, buf_size, &speech_mode);
- if(p->cur_frame_mode == MODE_DTX)
+ if(p->cur_frame_mode == MODE_DTX) {
ff_log_missing_feature(avctx, "dtx mode", 1);
-
+ return -1;
+ }
/*** LPC coefficient decoding ***/
if(p->cur_frame_mode == MODE_122) {
More information about the FFmpeg-soc
mailing list