From 117046ac6cb4ce8263fbe657f8167f2c451c375e Mon Sep 17 00:00:00 2001 From: banan Date: Sat, 25 Apr 2009 17:33:36 +0000 Subject: [PATCH] Remove redundant code git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18687 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavcodec/cook.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/cook.c b/libavcodec/cook.c index db32734040..edc1a22d17 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -1008,12 +1008,10 @@ static int cook_decode_frame(AVCodecContext *avctx, /* estimate subpacket sizes */ q->subpacket[0].size = avctx->block_align; - if(q->num_subpackets > 1){ for(i=1;inum_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; -- 2.11.4.GIT