[FFmpeg-cvslog] adpcmdec: remove unneeded zeroing of *data_size
Justin Ruggles
git at videolan.org
Sun Oct 16 04:20:35 CEST 2011
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Sun Oct 2 14:41:34 2011 -0400| [f7f7c1942b8f0b4dd10eecacd52678c028d28272] | committer: Justin Ruggles
adpcmdec: remove unneeded zeroing of *data_size
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f7f7c1942b8f0b4dd10eecacd52678c028d28272
---
libavcodec/adpcm.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 98da459..eb244bd 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -358,7 +358,6 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
samples = data;
samples_end= samples + *data_size/2;
- *data_size= 0;
src = buf;
st = avctx->channels == 2 ? 1 : 0;
More information about the ffmpeg-cvslog
mailing list