Module: libav
Branch: master
Commit: f7f7c1942b8f0b4dd10eecacd52678c028d28272

Author:    Justin Ruggles <[email protected]>
Committer: Justin Ruggles <[email protected]>
Date:      Sun Oct  2 14:41:34 2011 -0400

adpcmdec: remove unneeded zeroing of *data_size

---

 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;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to