changeset 9559:eadccc009063 libavcodec

Remove redundant code
author banan
date Sat, 25 Apr 2009 17:33:36 +0000
parents 4fa6581c6ee1
children 030eefed0f5c
files cook.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cook.c	Sat Apr 25 10:46:07 2009 +0000
+++ b/cook.c	Sat Apr 25 17:33:36 2009 +0000
@@ -1008,12 +1008,10 @@
     /* 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;