Skip to content
Snippets Groups Projects
Commit 6631294c authored by Justin Ruggles's avatar Justin Ruggles
Browse files

cook: do not needlessly set *data_size to 0

parent b277ebd5
No related branches found
No related tags found
No related merge requests found
...@@ -975,7 +975,6 @@ static int cook_decode_frame(AVCodecContext *avctx, ...@@ -975,7 +975,6 @@ static int cook_decode_frame(AVCodecContext *avctx,
} }
/* decode supbackets */ /* decode supbackets */
*data_size = 0;
for(i=0;i<q->num_subpackets;i++){ 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].bits_per_subpacket = (q->subpacket[i].size*8)>>q->subpacket[i].bits_per_subpdiv;
q->subpacket[i].ch_idx = chidx; q->subpacket[i].ch_idx = chidx;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment