[FFmpeg-soc] [soc]: r1419 - qcelp/qcelpdec.c

reynaldo subversion at mplayerhq.hu
Mon Oct 22 22:12:33 CEST 2007


Author: reynaldo
Date: Mon Oct 22 22:12:32 2007
New Revision: 1419

Log:
TRIVIAL - Avoid redoing is_ifq check if unneded

Modified:
   qcelp/qcelpdec.c

Modified: qcelp/qcelpdec.c
==============================================================================
--- qcelp/qcelpdec.c	(original)
+++ qcelp/qcelpdec.c	Mon Oct 22 22:12:32 2007
@@ -803,7 +803,7 @@ static int qcelp_decode_frame(AVCodecCon
         {
             if(n>3)  // Random seed
                 cbseed  |= (uint16_t)q->frame->data[ order[n].index ]<<(n-4);
-            if(n<16 && !q->frame->data[ order[n].index ]) is_ifq = 0;
+            if(n<16 && is_ifq && !q->frame->data[ order[n].index ]) is_ifq = 0;
         }
 
     }



More information about the FFmpeg-soc mailing list