Message ID | DU0P250MB074735031840B5D783271F218FC8A@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | ab95338a20b20a77d7f699812a6148dbed1debda |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4e24:b0:15d:8365:d4b8 with SMTP id gk36csp343153pzb; Sat, 7 Oct 2023 03:15:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFg//LDzSc6kjXuFjFdm1LhSH4cKz8u9MTbLiWohrY9RKqqN3xd9Lr4FIODY0dnekEN55Dn X-Received: by 2002:a17:906:2dd:b0:9b2:babb:5fe9 with SMTP id 29-20020a17090602dd00b009b2babb5fe9mr8944006ejk.23.1696673721853; Sat, 07 Oct 2023 03:15:21 -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 s25-20020a170906bc5900b009b27445e000si2438464ejv.287.2023.10.07.03.15.20; Sat, 07 Oct 2023 03:15:21 -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=ILdaNhK6; 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 7B3C668C963; Sat, 7 Oct 2023 13:15:17 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02olkn2025.outbound.protection.outlook.com [40.92.49.25]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 351FB68C9AA for <ffmpeg-devel@ffmpeg.org>; Sat, 7 Oct 2023 13:15:10 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hp5BTAebUWmEM2eqbMI9Vh2pd9/NnzqmWxZlBr8bFf2jb6F7WPuK3GJmLFiG2fjAiko/Qzxp20OL8Yv66YppwJAeOu1QhEgnNn+c8DjB6wv8Xgj11sTKCbJpFAFyPqv2omqPfazUdnOXFGj9EV4w1QzQ3TmTt0s4NzpAmGFJsiJU2njC+aDGAaA5atvhidZV5mAbPetCM3Kx1YOOFSSA5Hf0KjmdbqSsnP1+rL0r//gn2dxBgcRHUQSqqxdhCwn0G5RZ4kdE67P8iAnJshOaBIOWbE/6utpY4ok6Q9uZCGNROWmB2cQUhpSAoDB7seEQnPeTSmbDwopAvaQnHJFlOg== 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=6nTxagLUES5OkUsniNMc3bvDzhdoejDZow8zwteIW4E=; b=c8VrIUpj2zWjD/pKZkGDD5jzbW70kDD4A/88z2slXQ12ppkY+bxX0MT2MHg2wwX8OP90MwHYrP/CsklKHIvuptOvJ4wXYezAuuEfk7q0u++ED2MiSl02q3Wznmuoqu4SLziFB9QyHneBX9imQX3n/BLUHOCIXvKy0g/b5QygB/NMlJNlO01Bp1oJmYC6y3RhVxr/DNno641LCtcuFphxwFwFCJymLZvxdiq4OTRcAoZIxwflqIhiscC6lKgawjI9bauiEML4OE1czfb5Sls2MpVRvl4lwNWUDxVAzUx38Db7ypknO/r8qcTCeNwHYdHcFFYsk9N6usAGZk8eyRSt+Q== 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=6nTxagLUES5OkUsniNMc3bvDzhdoejDZow8zwteIW4E=; b=ILdaNhK6NsEn5ervjdB+Yh8jQVXmVARsTf5K8gJEvekqnTa4SRwaCsDGWf0aatFuvMaQdMBD77KsX5vHo/iBYKhm/erPJiwiz+srW+2CCk6awU8vQYSw0KTB5WYB2nouyCy/C3blMQdxfTYcBGUv5wbp2jFpgd2IY+O2p0P6N8J5bNY60VKLS0U5RxFxO3101M8PREjm0AQ2iI2l4rkGnE8sDjEfHU701VIkJtorkfhqwM4Q92aWdUAKZPpXHR5kJbbmAEzURwEKA7qHdSGQ3HB4rn9gxvcf/oeArX/sF7IBvaxqKQZpej8jHNRoVHrcdtx4ea3nPhHzuv98A5SqYQ== Received: from DU0P250MB0747.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:3cb::16) by AS8P250MB0217.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:378::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.41; Sat, 7 Oct 2023 10:15:08 +0000 Received: from DU0P250MB0747.EURP250.PROD.OUTLOOK.COM ([fe80::ec5a:5f06:b873:e81b]) by DU0P250MB0747.EURP250.PROD.OUTLOOK.COM ([fe80::ec5a:5f06:b873:e81b%4]) with mapi id 15.20.6838.033; Sat, 7 Oct 2023 10:15:08 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Sat, 7 Oct 2023 12:16:15 +0200 Message-ID: <DU0P250MB074735031840B5D783271F218FC8A@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.34.1 In-Reply-To: <AS8P250MB07449BD309DE98BE5A7D6D468FC8A@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> References: <AS8P250MB07449BD309DE98BE5A7D6D468FC8A@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> X-TMN: [mDjLe1at9b7jBoSMIdTbCPeE+ad1bIcy] X-ClientProxiedBy: ZR0P278CA0069.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:21::20) To DU0P250MB0747.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:3cb::16) X-Microsoft-Original-Message-ID: <20231007101615.2203587-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0P250MB0747:EE_|AS8P250MB0217:EE_ X-MS-Office365-Filtering-Correlation-Id: a2fad1ab-f09d-404b-0835-08dbc71e482b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EvHLf4OZ9F0kwmUeI6jPOXS1eibxUSdXLuksWF1D6z8iDU7ERl2psh/G13Xf1++xdIat6ik7so1qF6o/AhbLgo6DIFGLpu4LTlaG7D2eofcA8CIn8NYoRfk2b9BPCsk0+gnS5Md5Kez3t8BsZVjpmvF8AeeB5qQd+TzvXQsqFkq3Bg3fs9CIItYT3xXakubQyqE9tXWr66X92lYEiVfMYL488I4R+MQkLWv3VzRlw5Atxdo6khISBFI15uNZa++N8pKsyW/Kjeuy7ZIdP+BLmfrXimea/Hm0Sv32sWePZh9hPCW1Ui9gXAd3JkWC8Ez4RFFytPjZAC6nYCPWqdS2/8VyXvDpn5k0HFaeYgY0kRRM2mascS4KQq4xFdpATz7aBGMlYVGiMQJcriPvOPoFA/WxWTogQ+C4AxjU5/gUc5peGXBRpwXqv7emDSCacyrHMLsecfOf4aZh05jR5ANPtZumxITx8s78PxKjnLKGhQwndFcHnjtWcAL0SxYyj7ciEOzacBeCsCYUvUZ4pBNIt3aBF3S31DCsLDoiG/kqmINdKx+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AsPhF1PNrzha1OYPUvrWzI9/V7Xzsuacxh32zbLLq3F+9dYddI67frK23VCZgJFQslJkmVDJd83p5VT89TxQe1CZvtvWWun0ID4urVJGysp9TwqTTvgZ5miLdPAA9S3J3GtISXRS/nv8Va8GJWuPUBYCWqtJEeTJoo/jHRL9l/qshgUWWafLC9bNu4kfXQ25hwG6+Vv9SSsKyJHvIhA/oAJE35fOaCQj4qzd9z9uftOxzi+oFhegCjVxaTbZydsAiqu/eOtdbbReb75k+Vf0ri8RnYqctOfni3VnqDKkRQkqNgWFpYDUX79TejqY/RHG454hs0VoBDpDGeDiN70+Big0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a2fad1ab-f09d-404b-0835-08dbc71e482b X-MS-Exchange-CrossTenant-AuthSource: DU0P250MB0747.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2023 10:15:08.8225 (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: AS8P250MB0217 Subject: [FFmpeg-devel] [PATCH 8/8] avcodec/mpeg4video_parser: Don't set write-only current_picture_ptr 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: FjIWfoG2rUr/ |
Series |
[FFmpeg-devel,1/7] avcodec/wmv2dec: Parse extradata during init
|
expand
|
diff --git a/libavcodec/mpeg4video_parser.c b/libavcodec/mpeg4video_parser.c index 28353aa146..402594e01d 100644 --- a/libavcodec/mpeg4video_parser.c +++ b/libavcodec/mpeg4video_parser.c @@ -89,7 +89,6 @@ static int mpeg4_decode_header(AVCodecParserContext *s1, AVCodecContext *avctx, int ret; s->avctx = avctx; - s->current_picture_ptr = &s->current_picture; if (avctx->extradata_size && pc->first_picture) { init_get_bits(gb, avctx->extradata, avctx->extradata_size * 8);
It is unused by ff_mpeg4_decode_picture_header() (unsurprisingly given that when decoding this function is called before the context has been initialized). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/mpeg4video_parser.c | 1 - 1 file changed, 1 deletion(-)