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) {
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to