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 98da459..eb244bd 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;