From d479d58cb623d9b8e4d8cfc3b425197e003ab145 Mon Sep 17 00:00:00 2001
From: Alexander Strange <astrange@ithinksw.com>
Date: Thu, 27 Dec 2007 11:55:53 +0000
Subject: [PATCH] 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
---
 libavcodec/adpcm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index b68b064f118..e5bae273ee9 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);
-- 
GitLab