[FFmpeg-cvslog] cook: do not needlessly set *data_size to 0
Justin Ruggles
git at videolan.org
Sun Oct 30 02:04:13 CEST 2011
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Wed Oct 26 21:08:57 2011 -0400| [6631294c26b82f11b1862bdc3a6685a201afd19d] | committer: Justin Ruggles
cook: do not needlessly set *data_size to 0
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6631294c26b82f11b1862bdc3a6685a201afd19d
---
libavcodec/cook.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 462a8c4..eefbf4a 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;
More information about the ffmpeg-cvslog
mailing list