diff options
author | Alexander Strange <astrange@ithinksw.com> | 2007-12-27 11:55:53 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-12-27 11:55:53 +0000 |
commit | d479d58cb623d9b8e4d8cfc3b425197e003ab145 (patch) | |
tree | 14dbae4384b3bc52d3173ed833c191da49737dc6 | |
parent | 91be76a6622d14b6f734886d00ffe9bca4f4d13b (diff) | |
download | ffmpeg-d479d58cb623d9b8e4d8cfc3b425197e003ab145.tar.gz |
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
-rw-r--r-- | libavcodec/adpcm.c | 2 |
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); |