[FFmpeg-soc] [soc]: r4066 - in amr: TODO amrnbfloatdec.c

kmalaussene subversion at mplayerhq.hu
Tue Feb 17 08:12:09 CET 2009


Author: kmalaussene
Date: Tue Feb 17 08:12:09 2009
New Revision: 4066

Log:
Add  logging and TODO for missing MODE_DTX handling.

Modified:
   amr/TODO
   amr/amrnbfloatdec.c

Modified: amr/TODO
==============================================================================
--- amr/TODO	Tue Feb 17 08:07:12 2009	(r4065)
+++ amr/TODO	Tue Feb 17 08:12:09 2009	(r4066)
@@ -12,4 +12,5 @@ TODO (for narrow band decoder)
 - post filter
 - check for FIXMEs and fix them
 - test all bit rate modes to make sure the internal logic is correct
+- add handlig of MODE_DTX
 - when all this is complete, request a review from Michael

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	Tue Feb 17 08:07:12 2009	(r4065)
+++ amr/amrnbfloatdec.c	Tue Feb 17 08:12:09 2009	(r4066)
@@ -969,6 +969,8 @@ 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)
+        ff_log_missing_feature(avctx, "dtx mode", 1);
 
 /*** LPC coefficient decoding ***/
 



More information about the FFmpeg-soc mailing list