]> git.sesse.net Git - ffmpeg/commitdiff
adpcmdec: remove unneeded zeroing of *data_size
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 2 Oct 2011 18:41:34 +0000 (14:41 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Fri, 14 Oct 2011 19:53:40 +0000 (15:53 -0400)
libavcodec/adpcm.c

index 98da4591b08aba081fc107a2741b774ea27b2246..eb244bd05d0852c46f9bfdb476730adf73e5370c 100644 (file)
@@ -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;