1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

cook: do not needlessly set *data_size to 0

This commit is contained in:
Justin Ruggles 2011-10-26 21:08:57 -04:00
parent b277ebd508
commit 6631294c26

View File

@ -975,7 +975,6 @@ static int cook_decode_frame(AVCodecContext *avctx,
}
/* decode supbackets */
*data_size = 0;
for(i=0;i<q->num_subpackets;i++){
q->subpacket[i].bits_per_subpacket = (q->subpacket[i].size*8)>>q->subpacket[i].bits_per_subpdiv;
q->subpacket[i].ch_idx = chidx;