Message ID | GV1P250MB0737EAF421210D0DD3E1182B8F5C9@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | ebcaa24274c4f67393710d2d40bd75b4e2f7f8e2 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4d9:b0:9c:f4b:4e41 with SMTP id 25csp885123pzd; Wed, 5 Oct 2022 17:57:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5nuJjKlCTjg1RLphSpJEcI+Zd3w7x5f2o4Lg35sLWLR4FnM/PZtsc9UAsaol+7vvFQ9ngu X-Received: by 2002:aa7:d848:0:b0:458:9ccc:f605 with SMTP id f8-20020aa7d848000000b004589cccf605mr2259737eds.68.1665017875697; Wed, 05 Oct 2022 17:57:55 -0700 (PDT) Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id gj20-20020a170907741400b0076fbaba1addsi12088392ejc.896.2022.10.05.17.57.55; Wed, 05 Oct 2022 17:57:55 -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; dkim=neutral (body hash did not verify) header.i=@outlook.com header.s=selector1 header.b=chj2nDA5; arc=fail (body hash mismatch); 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A30E568BBA9; Thu, 6 Oct 2022 03:57:33 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-oln040092064095.outbound.protection.outlook.com [40.92.64.95]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 068A468BBA0 for <ffmpeg-devel@ffmpeg.org>; Thu, 6 Oct 2022 03:57:27 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YMzRJ7VobNlxs8l3pKFgYhr2EqRyK1AByWc/gEMmI5xoWrA8rjXTEKQOCYwOTQIE6rTJIYzJgaJSOWTWe1CbwDKnZCR5Oyhk/iQZAASuJBKCMjeoceVEOrZ3RuQLWqnHL2FB+j0P3oG/RtG8LlCm1GTiGzRiOphvqlVX9HD2IF98qtvRpOK4Qb+HvqjbGubCrzgLWJrA5IRYg1bu/B9HKrlCX9SzHJ0z/dtns/c1vwVzCKYKWKWSVoi1TjwOVTuvnXEQcgBoy81r/MKGn1wKOI3q53TYnWETz6MFLrN6G521XWyLRJauGMBrqkS+wEHFNV6f8YnvA2R4r4lD3WfgQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rD7lR+g8kV1ZcMxefIxbX4Rq2kjXPcQsVslJ/gg+e2w=; b=k2YWzrqwfMAcn0/kSAd396Cc7V0ZvozfgCaIr7qqjzaBa3ODubJZf97LuzZaramYtd3+ThYOtRGADr7+w/dUuwXhhzu3FT1ZsxJyIr8/A1UL51rKDuPTEvY2RRE4GTcxfHxzLBsRw5fQQqWFTwM/COAWcvQbXh6dof1gxRqZ5wlt6Ley5aWZwXD8AjiFSCSiZCw1jUmrNTU76nJ8J2eWmniRB/WWnr8SYCsfaQn97vLkowulCQUU615UXUeEQU+se47xmnQi2pg47ih3mzKPwngHAw6J7+TehBtdLh3Lzqa1frMHNrCtfd5i499mjgJCvMseGDFtPDdZAkFiwFJyUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rD7lR+g8kV1ZcMxefIxbX4Rq2kjXPcQsVslJ/gg+e2w=; b=chj2nDA5OiCKS2DLYWKLj1RWhoZdMq0w0ear0kanKAVS9+zm9wd8EsEkjB4wTs7AuwvO7cIgbddpw3WDyD/WX9WaXVjx3NuSkuvP/c7odZwkrk+o1PZMVxtLsXXpUcN5j5zY3u/AjEvB8cQBiLow3j9xm5LWRgDDkf5nmYt0ZDEwnQ96STFYN6OJVBvEPapzGdxTEw5zTnNTIPf7XpjU8lfJqOiiVypOaWUfeyUDgntcCPENS0TkFIoqHRlgrBHvAdKkkcKXdJLW4ybwRnqkwBJ/7TVoq9Fk84Bks+e73H7kIbRmBomCD/COjdVyTvmcJfxBOR9Krc77NGd3OofEfA== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by GV2P250MB0801.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:a9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.28; Thu, 6 Oct 2022 00:57:18 +0000 Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::68bd:2fc7:ac52:38f8]) by GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::68bd:2fc7:ac52:38f8%9]) with mapi id 15.20.5676.028; Thu, 6 Oct 2022 00:57:18 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Thu, 6 Oct 2022 02:57:10 +0200 Message-ID: <GV1P250MB0737EAF421210D0DD3E1182B8F5C9@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.34.1 In-Reply-To: <GV1P250MB0737BBD8F1146BE42D2AA46A8F5C9@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> References: <GV1P250MB0737BBD8F1146BE42D2AA46A8F5C9@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> X-TMN: [s4+9Mzjoxmt8G/TGcGv6c91LNiiyd4fZcBowXhRaIgE=] X-ClientProxiedBy: ZR0P278CA0150.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:41::14) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20221006005714.3530026-4-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|GV2P250MB0801:EE_ X-MS-Office365-Filtering-Correlation-Id: b730bcbd-2f65-4c69-ec79-08daa735b750 X-MS-Exchange-SLBlob-MailProps: AZnQBsB9XmqgQ4FT7B8ShVDNjokrWqh3bdigyO+6Pw9SyikTjZzbejYBiLDcF/Zorg2wyoGLtrO4Z1nh+B/Wpy/V3jQsNbAlxiTKuHLhK0zV7wORsVLVP6FW3L8bEFsMNlUBpxMCcF70bWbf0jBHERcVFGhrBJUjmD1mQD604kJKVDh6m9XyZju42KIf9n9keVK4jta8K3GB91C54Jh1vT7cdcFtkjQgxKjcfgXPNwSJw35R/V+buTUEboJmOiszbF1fZefCtUipL10qWD+2IRx4HndUPe6v0d4wiu6oXr48QEesNc4O8wbwf8uYevD1AYeXYZxnqSybhQuIQYRAcK7G9XG28S8+ysQBgCFtVmoddFRUUIC7I3USn2PBeixUPMcOjDqDu91vYz6+gQbjTxt9xbJfFCT/iAlBXTvJ8C+Z8nN26qAFBTdzooXKA/MK4x6LP/kD/mQiYMLOVDS37vlPjDKTDuhhP+kzoFUcBG52L9RFqNkZH5b4YvpiB4Eapyhvnb7N79cRXZvnsti+AW/gn7+8Zw53t/5YSzld2D3fNftT4VNeUX1wIKNS2DVzRVK1LM1CXhn6sgQrc8MHrP1kxNbfuB6kyT2pdWY1PTxOTAWKUMgo9Iii1sq6KoCD+PDYSaXq8Jux0c+Ks+IWQ24EaHpFKA11FyTN8gAAB7iDwTJNByoVUBkQP0T4zx1ssMmt3sxNdJZOUhzV1ZAjnj9pR0MjaUTsCFIx6+wtOF5RYcz7f/SBmUryHALriG+QgSKyUMh1Hyk= X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +vme6B1e6u1uAryxLlJa6SlzmbCfQ0UxF0Z5ORUDD17iXmEnaDrHm9KMsp73cIjvxvSBoPpwU+R1ERvMJI8PS36s5lrTVf8/UoZjQLuu9dne08pKEYDRYQ+KXcgRWEVs22+qVhj5tkXU3BDXlwykfkXolIPF+XFVCYsPzkWryAoSPdcmYRSxf9vLK9ykSrkIZyEbSzEt4li4EOC78F+0bnBZsYHE6UwznwrJIgWALIW9RRaC5w7XoLtJTXKNzwt7T0YZBygPLMDSOH8B2JWmlnuVX4NvVQ/aFUafstaOKORMjefSVYairGiBT+ZBfG09HOw9Gt3bHczQIyfTkFRz/5EENL7lIFRjmHzvf03MbwkrW2B3ASe7UqweYm8jvd8YNh+vDUe904bZGryynHrpm47Mmv67UyDj9KpcN1s44cFx0/T81cG6QBbS5gHizhtx2Kc9Odcq0T5AILocqkoQyT3MsCX/koLRkSOncqpCnavKmJT4A0Ycm37JvWRmvS/c+o1w8cjEDjBKufwExUDbD6zH02kjCdlWNH3IABwuesBjTD1KR2ubvLOS8tjXUEV8I6t3hxRSNc7q9i9AB3wxElumHhqZjp+C4Z0kZjJ4f4JFr1DOWDcA4fo82tVBTQSUyRhyu079wqT+d4hdqFy9AhMfwYMG1Wi13QWzKTAmfyoAlZGwJih7qsKoz2SJkNai X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nqSPstMP2wPfB2WPoz8/K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kjY8bx3uE5Mb1UejB9/OepHImH2UcpIajW61Bw9bO/PiV8AmBxULZliUrn09dBuQqLJJ9VyhyNkLtQUFw0FbdgTKaERtIA26FRCiFNEYzUYjgmz7y3tUZC/rZlmwx4VJE5iencvpUvPRbmkyUuX8xOA5lQSkSO8b2ujt4EnVFvVApu8sQeAtBEFp1Sa8qaxfO0qB81Q7l7Y8XdDpRbiVNX0Dnnox2/RITwxqvmAfr6lyrPaeJ7UvL X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b730bcbd-2f65-4c69-ec79-08daa735b750 X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2022 00:57:17.9485 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2P250MB0801 Subject: [FFmpeg-devel] [PATCH 5/9] avcodec/asvdec: Remove unnecessary emms_c() X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: aLKrkB6Yidie |
Series |
None
|
expand
|
diff --git a/libavcodec/asvdec.c b/libavcodec/asvdec.c index 7dafc115b3..be89544732 100644 --- a/libavcodec/asvdec.c +++ b/libavcodec/asvdec.c @@ -293,8 +293,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p, *got_frame = 1; - emms_c(); - return (get_bits_count(&a->gb) + 31) / 32 * 4; }
This codec uses BswapDSP, BlockDSP and IDCTDSP. The former never used MMX, the latter does not use it for idct_put since bfb28b5ce89f3e950214b67ea95b45e3355c2caf and BlockDSP does not use it since commit ee551a21ddcbf81afe183d9489c534ee80f263a0. Therefore this emms_c() is can be removed. (It was actually always redundant, because its caller (decode_simple_internal()) calls emms_c() itself afterwards.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/asvdec.c | 2 -- 1 file changed, 2 deletions(-)