cook: do not needlessly set *data_size to 0
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 27 Oct 2011 01:08:57 +0000 (21:08 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 29 Oct 2011 17:43:28 +0000 (13:43 -0400)
libavcodec/cook.c

index 462a8c4..eefbf4a 100644 (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;