From patchwork Tue Mar 23 14:12:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zane van Iperen X-Patchwork-Id: 26565 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 6E1C644BC28 for ; Tue, 23 Mar 2021 16:13:51 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 553F368AB8F; Tue, 23 Mar 2021 16:13:51 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CD06A6804FC for ; Tue, 23 Mar 2021 16:13:39 +0200 (EET) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zanevaniperen.com; s=key1; t=1616508815; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2jZy/zlgRdEwfva3IGDj+AeWY8bb2B7t7CsfrvVdjrk=; b=c/HiijLcgpRyzjaWBr0GxvznqByUoLVa+IlWsp6BjGEZ2IX7Hultp2lX8HVYbl4yQVvT9W d2HhKTES5gfKcX5Nsw+Riv5VPo4xhEf6WSJlaxmfpA2YtcwwR745EzrStc6TIpNA9iYB4i vA6ll0/sEr9opyV5NiDqcTmZwKNGjGJDH3ipT33gM8HWXbWyvPufqIMPoMtnJlcYq07RdP I1QgQO6jCdLBQBMD5e9RkVw3Tjq7nG+FD4Spt4TwXkaSqvbZUfRX82B0Xc83UzZp1ntEuY UoHDcGeThWkqeOrz/cylBzcjlC8xIG10NJ9dpr9NBHudF9SdjBDkjX7t1xQPFg== From: Zane van Iperen To: ffmpeg-devel@ffmpeg.org Date: Wed, 24 Mar 2021 00:12:59 +1000 Message-Id: <20210323141305.19229-5-zane@zanevaniperen.com> In-Reply-To: <20210323141305.19229-1-zane@zanevaniperen.com> References: <20210323141305.19229-1-zane@zanevaniperen.com> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: git-morningstar@zanevaniperen.com Subject: [FFmpeg-devel] [PATCH 05/11] avcodec/adpcm_ima_ssi: reset state on flush X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Zane van Iperen Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Zane van Iperen --- libavcodec/adpcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 07fa1a65b3..e31f68b076 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -2123,6 +2123,7 @@ static void adpcm_flush(AVCodecContext *avctx) } break; + case AV_CODEC_ID_ADPCM_IMA_SSI: case AV_CODEC_ID_ADPCM_ZORK: for (int channel = 0; channel < avctx->channels; channel++) { c->status[channel].predictor = 0;