Message ID | HE1PR0301MB21540232396BE804692442A08F769@HE1PR0301MB2154.eurprd03.prod.outlook.com |
---|---|
State | Accepted |
Commit | 80410674bd29d552c2af6453c5973323038cc947 |
Headers | show
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> 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 2BB9744AF20 for <patchwork@ffaux-bg.ffmpeg.org>; Wed, 7 Apr 2021 00:55:39 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 06C7868A466; Wed, 7 Apr 2021 00:55:39 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-oln040092067057.outbound.protection.outlook.com [40.92.67.57]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2322E680378 for <ffmpeg-devel@ffmpeg.org>; Wed, 7 Apr 2021 00:55:32 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TWEdWseJtFGyMg3eV2yqSo4DJymBgrAoLE6nQc+ah/cfmgKJVvS10Psq5woXyPlzR4tsF7VwXfF4NZZIMyzExel9pb2+QezOqmNwJhPTDCKmJEUlj5uVODseDmlj0nb5mY84xD2X7wiZmhN0l3/XBc4APDN9oaMFGJc5+DZ4ndLFQjqfe/gYgG5FVLmkd4WcYt9pzyA4yZNXxlmqE9RWh/r0BUunGn2YLZMWswK5/i3SpY2k1IL1FhrYuJNu6O2kF4mL0p8P+5sHOOeYtr1vyQJUgqZwQ+nL8K2qczHcx10XNR0YdJApsSYWwdq6NU1WX0gnXc4WnD4/VYkp+75Cqg== 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-SenderADCheck; bh=YDeRxqlj1uwKTdUKXbUTfRERF0m/kivndBPI7YSSS90=; b=fDVZwkAJAn5NmJ1VbE78Yuq4h4SuwumPuEmZJvk4K1ueFJAfb4QFlf+iuOdeg2B+jfeEE6540QS99IBtGNCXOXocqqSmrSHXkgT+NV3NU3oblajHtIGiw55pOXG1znox3kc/SosZIIdMba1sFU7UMIzglrHl/dSf3yIDPcy8iZVu8uPrrzj4rPX3yttv0c1+r+wSsITXaGftQTfS0KkKpyqiUVzZWQBKORN+0GZBDTFH0wKLXnP0Tp4RY4zZecyV9AePMniDMUBHaW72JEIXJjGoBKEWD5+bOT1XQvYifQ61FvYveZbnAx34xXQ74GJekrpxzxktvf+c6l2qBvuy0A== 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=YDeRxqlj1uwKTdUKXbUTfRERF0m/kivndBPI7YSSS90=; b=NBqU1edkteo9Vx+9s3+YtQy0yVcceew1gxLEIp30+srf2e2AoEugtUPyYPSv8V58986TuPNJ/YZLU16WCOnuTB7OeWytb1IJNFRX8x+J9TIpOG8CmMBXgp6C7KHv95f2FhbzrAmumhQZezJDlHWwL8wWaBtcpWaKfzEec0224pCmr4xMsvF8H1Y+i0T6gwZEMv6+JDxyJ7bvxTQ6hC/666l+fx1MGiLjMSQ/xC7QXlvln6Lsfb99xHGiiur3ooatmMRugc1rWElqtlgzW4X0bKrPGsGRPrg/fkfawliBc2BBZnBhgCcby92ilXLAtZ1AUDzjiM+FpVTZCse3xJCVeA== Received: from AM5EUR02FT037.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1c::43) by AM5EUR02HT105.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1c::384) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28; Tue, 6 Apr 2021 21:55:25 +0000 Received: from HE1PR0301MB2154.eurprd03.prod.outlook.com (2a01:111:e400:7e1c::46) by AM5EUR02FT037.mail.protection.outlook.com (2a01:111:e400:7e1c::182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28 via Frontend Transport; Tue, 6 Apr 2021 21:55:25 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:F19F62F7CFD5AD5B376DA31C9D156BB67E30A28B733079D212A3A9C20B6B1D0A; UpperCasedChecksum:FF5A090F9AE6176034ABD2A14807DE1917E8B68DC728EDFA902A402EC51CB659; SizeAsReceived:7584; Count:48 Received: from HE1PR0301MB2154.eurprd03.prod.outlook.com ([fe80::8128:5de5:4e94:9a21]) by HE1PR0301MB2154.eurprd03.prod.outlook.com ([fe80::8128:5de5:4e94:9a21%3]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 21:55:25 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Tue, 6 Apr 2021 23:55:07 +0200 Message-ID: <HE1PR0301MB21540232396BE804692442A08F769@HE1PR0301MB2154.eurprd03.prod.outlook.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <HE1PR0301MB2154E897519F994A48B4C01C8F769@HE1PR0301MB2154.eurprd03.prod.outlook.com> References: <HE1PR0301MB2154E897519F994A48B4C01C8F769@HE1PR0301MB2154.eurprd03.prod.outlook.com> X-TMN: [yTcSplSajGShhvZxSIF82WnxKAkp48fp] X-ClientProxiedBy: ZR0P278CA0046.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:1d::15) To HE1PR0301MB2154.eurprd03.prod.outlook.com (2603:10a6:3:2a::22) X-Microsoft-Original-Message-ID: <20210406215516.832944-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from sblaptop.fritz.box (188.192.137.96) by ZR0P278CA0046.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:1d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.16 via Frontend Transport; Tue, 6 Apr 2021 21:55:24 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 50ac35fc-36c4-4b81-5ebd-08d8f946aec4 X-MS-Exchange-SLBlob-MailProps: gjx25WM8ZNWokjkIuSHCLcr3WWR6SqcKKsi+8hSvMv8uu0NA9jgJXLDmvB2sxtYeWvTqgUaGoU+yEzGHKBHmgBony1IUUXgkC4d5kbXMQKlNTJpuDp2Qg4j8mvpEHoAIbi6xkQao71mvpzP40y5zg9Ln/+Fj7HiHrj4DHN2IJPzrvNbO4jkVBnBsxnTSII18PYB4jUqLX6dhDePx2QR5kJUoWCmZPzW4Vwp2r71QP8Cnd+5NBjR9DnC9C+YC4oLIhfXU9gc9yGlvCKJbtstmg0b079n+b87GdClcevugttfauVwNssWOKVvgo9nXJ8hjYssDh77hIqlGij3/1V9g+FQL7X/LG9/cOrWTg7myCEaqnwAh9OvBfVjH5iNPFiBkOPSJNNuzLgCwCuLgtmPVf/6e4tN5jb2wlPMupZkNHMB4v/gl2FXwZNR2nGIKRHPIvOJmGoLdyUr9vlHsHSBldr5LAsyeRpYlg9YbCWUGj9RFborLaKuFQdzCIx0XIP6B2UHM3HyzJNrjQ5y538c77xS+j2HIxKrRmyMO51Ngl23btPAbmUqn6HBvLXDZ2cm7XFt2an1XFG8PGS8AkrtMOwVPbYc51reulkDCKZaIH4DvDSWsnLaPzaiPE1572j7cGrjXMmR/ZLLUIfEweIRq6dHs4IGbH7yRF6/AgzZlRi2jcuiXOTOTuUai3zG6ZFx2h1VuPRhyJFqqvOTj6R0lOOuj8Yq7zvg3hPjj8x6nYHk= X-MS-TrafficTypeDiagnostic: AM5EUR02HT105: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2VoX70K7v98MiKxOdQs0XAbCltZ2DkMbdEN8O6K5/+JW58GJ4CgbFWJGhw6f7DERW6eQk11SYoFfEGkiaCHYG8mpq+hRuOuklnpoh+hX7bSJfWOHQ2JtJTdPru6ZISHLAsbuW3Rr7edP5hqj2nEUaOG09MJKzz+GZNwLGX1rO0C+3wLFHYFScbvjulnEKkrFsfGV6uQWRoJneOS5kdNts1ADKfHrfRcgHCiEkTXZGX/ltipLu7jdUJLipivhPppvgzc4QK0ouDnJdxtElgXPS9g4urEoMCS0lFqEQLhULuETe7PFX2u1ImUtxPGutQmeCzNLqZhc1MxpOclGaX7yTIc+MtzdWkSb6+Lf6T6SXwcuk/sdI8ov5xk/9u0ZvgtNxBF++oigehNyzr4vXHEkxw== X-MS-Exchange-AntiSpam-MessageData: FQgxzP35vKb8dNUwSdNiHBtGhSqYbTR5DnmSDUhpbT6BLNx9HMCOrx88jfJwsAUP/RLk7Wm0ojeAj1RqRUwp8qBcGuYyQStDpBgqHgIz9OSWYH7iJ9N/P25YGhntio1umvD+7YNaCgTu+QsD0247oQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 50ac35fc-36c4-4b81-5ebd-08d8f946aec4 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2021 21:55:25.3014 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: AM5EUR02FT037.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT105 Subject: [FFmpeg-devel] [PATCH 10/19] avcodec/mpegvideo_enc: Remove redundant time_base check X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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="utf-8" Content-Transfer-Encoding: base64 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> |
Series |
[FFmpeg-devel,1/9] avcodec/encode: Fix check for allowed LJPEG pixel formats
|
expand
|
Context | Check | Description |
---|---|---|
andriy/x86_make | success | Make finished |
andriy/x86_make_fate | success | Make fate finished |
andriy/PPC64_make | success | Make finished |
andriy/PPC64_make_fate | success | Make fate finished |
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index d5dd69b88f..2a0fd60cbc 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -672,11 +672,6 @@ FF_ENABLE_DEPRECATION_WARNINGS return AVERROR_PATCHWELCOME; } - if (!avctx->time_base.den || !avctx->time_base.num) { - av_log(avctx, AV_LOG_ERROR, "framerate not set\n"); - return AVERROR(EINVAL); - } - #if FF_API_PRIVATE_OPT FF_DISABLE_DEPRECATION_WARNINGS if (avctx->b_frame_strategy)
This check is dead as ff_encode_preinit() has an even stricter check. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/mpegvideo_enc.c | 5 ----- 1 file changed, 5 deletions(-)