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:
parent
b277ebd508
commit
6631294c26
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user