[FFmpeg-cvslog] r18687 - trunk/libavcodec/cook.c

banan subversion
Sat Apr 25 19:33:36 CEST 2009


Author: banan
Date: Sat Apr 25 19:33:36 2009
New Revision: 18687

Log:
Remove redundant code

Modified:
   trunk/libavcodec/cook.c

Modified: trunk/libavcodec/cook.c
==============================================================================
--- trunk/libavcodec/cook.c	Sat Apr 25 12:47:24 2009	(r18686)
+++ trunk/libavcodec/cook.c	Sat Apr 25 19:33:36 2009	(r18687)
@@ -1008,12 +1008,10 @@ static int cook_decode_frame(AVCodecCont
     /* estimate subpacket sizes */
     q->subpacket[0].size = avctx->block_align;
 
-    if(q->num_subpackets > 1){
         for(i=1;i<q->num_subpackets;i++){
             q->subpacket[i].size = 2 * buf[avctx->block_align - q->num_subpackets + i];
             q->subpacket[0].size -= (q->subpacket[i].size + 1);
         }
-    }
 
     /* decode supbackets */
     *data_size = 0;



More information about the ffmpeg-cvslog mailing list