From patchwork Sat Oct 22 19:02:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 1111 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.140.133 with SMTP id o127csp1557194vsd; Sat, 22 Oct 2016 12:02:46 -0700 (PDT) X-Received: by 10.28.67.6 with SMTP id q6mr14736795wma.43.1477162966444; Sat, 22 Oct 2016 12:02:46 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id n63si4200656wmn.77.2016.10.22.12.02.46; Sat, 22 Oct 2016 12:02:46 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DA5E6689C89; Sat, 22 Oct 2016 22:02:22 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-dmta-pe03-2.mx.upcmail.net (vie01a-dmta-pe03-2.mx.upcmail.net [62.179.121.161]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C8D08689C53 for ; Sat, 22 Oct 2016 22:02:13 +0300 (EEST) Received: from [172.31.216.43] (helo=vie01a-pemc-psmtp-pe01) by vie01a-dmta-pe03.mx.upcmail.net with esmtp (Exim 4.87) (envelope-from ) id 1by1Ye-0002hK-UO for ffmpeg-devel@ffmpeg.org; Sat, 22 Oct 2016 21:02:16 +0200 Received: from localhost ([213.47.41.20]) by vie01a-pemc-psmtp-pe01 with SMTP @ mailcloud.upcmail.net id yj2F1t00y0S5wYM01j2Gyr; Sat, 22 Oct 2016 21:02:16 +0200 X-SourceIP: 213.47.41.20 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sat, 22 Oct 2016 21:02:02 +0200 Message-Id: <20161022190211.16526-4-michael@niedermayer.cc> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161022190211.16526-1-michael@niedermayer.cc> References: <20161022190211.16526-1-michael@niedermayer.cc> Subject: [FFmpeg-devel] [PATCH 04/13] avcodec/error_resilience: Clear MMX state after the MC/ME loop 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Michael Niedermayer --- libavcodec/error_resilience.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c index 2790599..83b5c92 100644 --- a/libavcodec/error_resilience.c +++ b/libavcodec/error_resilience.c @@ -1187,6 +1187,8 @@ void ff_er_frame_end(ERContext *s) } else guess_mv(s); + emms_c(); + /* the filters below manipulate raw image, skip them */ if (CONFIG_XVMC && s->avctx->hwaccel && s->avctx->hwaccel->decode_mb) goto ec_clean;