aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cook.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-10-26 21:08:57 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-10-29 13:43:28 -0400
commit6631294c26b82f11b1862bdc3a6685a201afd19d (patch)
tree53fcbaa77a7549931ae78a76489d6175de70cb82 /libavcodec/cook.c
parentb277ebd508a0ceeb187d5ae8c463ce6ffb06b4c8 (diff)
downloadffmpeg-6631294c26b82f11b1862bdc3a6685a201afd19d.tar.gz
cook: do not needlessly set *data_size to 0
Diffstat (limited to 'libavcodec/cook.c')
-rw-r--r--libavcodec/cook.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 462a8c40fc..eefbf4ad48 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -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;