[FFmpeg-soc] [soc]: r4088 - amr/amrnbfloatdec.c

kmalaussene subversion at mplayerhq.hu
Thu Feb 19 04:18:36 CET 2009


Author: kmalaussene
Date: Thu Feb 19 04:18:36 2009
New Revision: 4088

Log:
cosmetics after last commit

Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	Thu Feb 19 04:17:10 2009	(r4087)
+++ amr/amrnbfloatdec.c	Thu Feb 19 04:18:36 2009	(r4088)
@@ -201,12 +201,12 @@ enum Mode decode_bitstream(AMRContext *p
             data[order[i].array_element] += get_bits1(&p->gb) * (1<< order[i].bit_mask);
         }
 
-    if(mode == MODE_DTX) {
-        p->cur_frame_type = RX_SID_FIRST; // get SID type bit
-        skip_bits(&p->gb, 4); // skip to the next byte
-        if(get_bits1(&p->gb)) // use the update if there is one
-            p->cur_frame_type = RX_SID_UPDATE;
-        *speech_mode = get_bits(&p->gb, 3); // speech mode indicator
+        if(mode == MODE_DTX) {
+            p->cur_frame_type = RX_SID_FIRST; // get SID type bit
+            skip_bits(&p->gb, 4); // skip to the next byte
+            if(get_bits1(&p->gb)) // use the update if there is one
+                p->cur_frame_type = RX_SID_UPDATE;
+            *speech_mode = get_bits(&p->gb, 3); // speech mode indicator
         }else
             p->cur_frame_type = RX_SPEECH_GOOD;
     }else if(mode == NO_DATA) {



More information about the FFmpeg-soc mailing list