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

cmcq subversion at mplayerhq.hu
Tue Jul 28 18:14:29 CEST 2009


Author: cmcq
Date: Tue Jul 28 18:14:29 2009
New Revision: 4820

Log:
Remove unnecessary check that the result of get_bits(&p->gb, 4) is positive

Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	Tue Jul 28 18:11:00 2009	(r4819)
+++ amr/amrnbfloatdec.c	Tue Jul 28 18:14:29 2009	(r4820)
@@ -143,7 +143,7 @@ enum Mode decode_bitstream(AMRContext *p
     p->bad_frame_indicator = !get_bits1(&p->gb);
     skip_bits(&p->gb, 2);
 
-    if (MODE_475 <= mode && mode <= MODE_DTX) {
+    if (mode <= MODE_DTX) {
         uint16_t *data = (uint16_t *)&p->frame;
         const AMROrder *order = amr_unpacking_bitmaps_per_mode[mode];
         int i;


More information about the FFmpeg-soc mailing list