Commit 6631294c authored by Justin Ruggles's avatar Justin Ruggles

cook: do not needlessly set *data_size to 0

parent b277ebd5
......@@ -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;
......
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