Commit 117046ac authored by banan's avatar banan

Remove redundant code

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18687 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent db66a65f
......@@ -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;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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment