summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2007-12-27 11:55:53 +0000
committerDiego Biurrun <diego@biurrun.de>2007-12-27 11:55:53 +0000
commitd479d58cb623d9b8e4d8cfc3b425197e003ab145 (patch)
tree14dbae4384b3bc52d3173ed833c191da49737dc6 /libavcodec
parent91be76a6622d14b6f734886d00ffe9bca4f4d13b (diff)
Fix clicking sound in xa-adpcm.
patch by Alexander Strange, astrange ithinksw com Subject: Re: [FFmpeg-devel] [PATCH] fix clicking sound in xa-adpcm Date: Thu, 27 Dec 2007 03:20:24 -0500 Originally committed as revision 11329 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/adpcm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index b68b064f11..e5bae273ee 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -1121,8 +1121,6 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
}
break;
case CODEC_ID_ADPCM_XA:
- c->status[0].sample1 = c->status[0].sample2 =
- c->status[1].sample1 = c->status[1].sample2 = 0;
while (buf_size >= 128) {
xa_decode(samples, src, &c->status[0], &c->status[1],
avctx->channels);