summaryrefslogtreecommitdiff
path: root/libavcodec/adpcm.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-10-02 14:41:34 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-10-14 15:53:40 -0400
commitf7f7c1942b8f0b4dd10eecacd52678c028d28272 (patch)
treead1fd0796c223428c919951d8dc5ccc6c7680991 /libavcodec/adpcm.c
parentd341d5fd2cd7e301a20dcb50f3e1445571765023 (diff)
adpcmdec: remove unneeded zeroing of *data_size
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r--libavcodec/adpcm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 98da4591b0..eb244bd05d 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;