Message ID | AM7PR03MB66605D6D6EBD24D2E6EA063F8FAB9@AM7PR03MB6660.eurprd03.prod.outlook.com |
---|---|
State | Accepted |
Headers |
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:6506:0:0:0:0:0 with SMTP id z6csp2088093iob; Fri, 1 Oct 2021 14:09:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziPILRc0UWEcvC0+5ZrRgcEwqO9fMN05U9C+rNuFt3vd2AoMvXdkmgnGnwiSnJLdTttuQy X-Received: by 2002:a05:6402:1e93:: with SMTP id f19mr336776edf.88.1633122567803; Fri, 01 Oct 2021 14:09:27 -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 bf14si7875036edb.192.2021.10.01.14.09.27; Fri, 01 Oct 2021 14:09:27 -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=AEMsUlkW; 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 32D7068A8E7; Sat, 2 Oct 2021 00:09:10 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-oln040092068011.outbound.protection.outlook.com [40.92.68.11]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DDB4668A8B4 for <ffmpeg-devel@ffmpeg.org>; Sat, 2 Oct 2021 00:09:03 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RdpdaCCryexm70hhD61pyADhuQuBw22rHH+cRnWqtrcqn992T6jlQSO5MnrysETbqzaxKWHNMU8pleaIUJBAMyeR9rA6udsABum2lEWKAOwfQRwp3lHSvnLsKZ+QORPBWMlhscI3ybSmzXSa/4WELcvVMs8g2U9z2hwhlmjSqNwQCzTSPYYvmt96EVum4n9ONFfhM9VCnTcIVFAHgbJ5syS93sge1/dHw5v6jdngF0dNpbEPcrSHzrYdc4/b1N4fm3tU7ADwrKQmBF2jWgNiM0sfLJ8F8hkoZpvdyY004/OuyU8r215LamuUrn8e9rNifJzy5/uP9exTJgma9vO0cA== 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=ZZw4UkhaxVke0w+wawlF3mYhZDrxuWYIhOIklaHjJmM=; b=O3X4I0WLuuIBMBza2oiU4dHFwW0RK9gu921SnLTSmixrfGsDnVSwwqOOqez2BxM1EUxrZjL/pgDnxYa7QfJHsK98c9lPJrBV/OPiz2RWxi7TjGCe+DcGQ3c1bgnB2vDJSm7UdFAJ1bLeMELyIWrYKZ/UDQr/T6ql5QYAiQ3CngUVOq8hlXp5qzfuyhjqW6jls0OiI3ChzqI22PZHKpsX+ptvWDaoiIX/iU0dL9GuQmkZrsXtWFqH4Uz7JAsjzXDEMDklSZhF9HKByUuJfdKhQCKLToBbQyDBgWnFCtfpGsu483qMbEXuraAV5d3waj5AoHAcQQTlJKcNKm/9DS9V8Q== 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=ZZw4UkhaxVke0w+wawlF3mYhZDrxuWYIhOIklaHjJmM=; b=AEMsUlkW469PtF78j6gobFvwWhdGJCxdXeRMA39gf+/LmvQOy0G+svrTpf6o+pS3ljsJjVMpTh6edjLz7IKxqRHzDJUUlNgOL4jEsSfShb22GJJKyznek+uILeDDK19TgMqGrvfcJQF5aivZ4wKQ/2Pm9WDqjXgM5P4kT8V9ZwKxCMqGzK3FAY0AYYF2fwLvkygxrB/2zyAL3Dl4Q3FJQxGMPDDvqvXeM2WjyasO6Xw/aBKej7in1Ac3FhXJ/P9piILz9oCZwNPjCu3qT82KEdc5zGajiSPKbQY12/jyMfersDAGpSHc4I+JaatkB5fBOYGYNcShOtAIztnsfU3OPw== Received: from AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) by AS8PR03MB6952.eurprd03.prod.outlook.com (2603:10a6:20b:29a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.17; Fri, 1 Oct 2021 21:09:03 +0000 Received: from AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::700f:d70b:3bb8:4d51]) by AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::700f:d70b:3bb8:4d51%7]) with mapi id 15.20.4566.019; Fri, 1 Oct 2021 21:09:03 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Fri, 1 Oct 2021 23:08:22 +0200 Message-ID: <AM7PR03MB66605D6D6EBD24D2E6EA063F8FAB9@AM7PR03MB6660.eurprd03.prod.outlook.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <AM7PR03MB6660647098FC21E8418ECA608FAB9@AM7PR03MB6660.eurprd03.prod.outlook.com> References: <AM7PR03MB6660647098FC21E8418ECA608FAB9@AM7PR03MB6660.eurprd03.prod.outlook.com> X-TMN: [j/BN8wpQ1Aw73mVPsxcLk9WHUT0G7ROA] X-ClientProxiedBy: FR3P281CA0071.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4b::7) To AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) X-Microsoft-Original-Message-ID: <20211001210837.2879205-4-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from sblaptop.fritz.box (188.192.142.38) by FR3P281CA0071.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.8 via Frontend Transport; Fri, 1 Oct 2021 21:09:03 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6c628b09-947f-4973-4d49-08d9851fb251 X-MS-Exchange-SLBlob-MailProps: gjx25WM8ZNVM2asYY12qjM1/Eg4mHSQy+OiGWwLLFLtFDmYb9ObJGnwr1jAiV+CaKuw+Ox0Cwma2mRkbs5bNb2wnK75zRFyOawdI+LjMZMk9Whp7tATQC+7WcbjKBwQCW4ByLG4I1RWWWuWLGcNm9MuqqOusqRdizImLzCycLIcccbAb3Iu2m54P1tfg/gdNh6g9T92mEh1uLuCiR8xGA+aExsWWeIjOTXavmfazjsCgiuB2N7cnQjbo+z8aZscyCz0L+RA4LU5Zzuf70LOLO0anFMLeg3p3W7C/xhuf3EXxjbi0rwU2XHzfq+EgkeS8LOyxZS1tvwobhjgfZMKpec5g53wOrSsV25MnsdRHGtMS8+Ojf+8nDhhneUkbQiw6tlRzd2pVx+jRsAksDLcvw3X0AL7aI5aYSJ24WSuPmYPINth+0tNCNIfNMPdd3Gs9HgnIUvD8rsxTbyUkKTb+sTIFtVxaM8Rz3wihz26K7+uEK3HQf65BO/8j8SryPOSltffttXGGpzAGwH+vhytQwhrqpCYtMkw70jlkj5eGv4Az1C9lQLnwfIe8VoRLpVGcIL8aJ8RYKlzbplV/z/bXQLpLiAEWv5zFDKDEhqf5H7UI8eZ93hssJ+fFFpiLtOB4+5Ss+lbzZ3O6Yt4GQ9Vk2cbgzU+D/Wu0KSlSMiaJV3Sjl0p3nkTbvQ3OKGiknXRrsPPVi3YVy4RWy2R2KqQ5McQnxrU4YwaRl7hBpoZg89Q= X-MS-TrafficTypeDiagnostic: AS8PR03MB6952: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +RCyFv6KVInzLmza5/uiP0dU7jC2/ZjfWhUgS43dDnMSFYDUd2ht2fYVGkIeCgFIHNqQ8VNKHQNLkSwSbN4fXfXwpf3MH/HHaej9rHgwXpxEnMCOPk4O7/7ysV1ta996xzcgv2tBGekFK2HDgbh2MrOiWD3xfCFkh95vVd8E8z42nYzY52HlNJS4KyLNUTn8Vi739XI5JJbyWx/3orN51Oi0TStRTraCO1iu7R1GM81bHULBKbL+wlMZdAL4wEMGmVaUNxbwDxAhurGo+Lyl7zscjxnvspMvf1D5+CfCBqvJBcz8pB7q3Zu3oCFXjjGGejtL118CJKFQW5nOF7YFZCg7a1JFY9gmSEVCgFABk8tOvm827+7C+Xf5ogDW23q0ketlzREV9UsD0Mfj1SrQ+MFdcFNilwI9pghiNaNVMsnygpfIzC4Lf2H1pGHDeP9Z X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qIvjpRKRkqoHwDD/vQaxtQ+4WgGB899XLNtwaCdeCRlo5tM7RYN+WnvA+45kkB+5latmmXm8vIhMaxaPvkXwfw1ytel0gh4N0J60iXG1sHj6Z55GgT/wuTKsX0QEQ/6x9iVhMbNNT3JFjtGtLqK8eg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6c628b09-947f-4973-4d49-08d9851fb251 X-MS-Exchange-CrossTenant-AuthSource: AM7PR03MB6660.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2021 21:09:03.3979 (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: AS8PR03MB6952 Subject: [FFmpeg-devel] [PATCH 05/20] avformat/sccdec: Remove nonsense cast 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: n5ijP+fBE8R1 |
Series |
[FFmpeg-devel,01/20] libpostproc/postprocess_template: Don't reimplement FFSWAP
|
|
Checks
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | success | Make fate finished |
Commit Message
Andreas Rheinhardt
Oct. 1, 2021, 9:08 p.m. UTC
In most contexts, arrays are automatically converted to a pointer
to their first element; taking the address of the array just yields
a pointer to an array of fixed-size arrays, which is not intended here.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
libavformat/sccdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/sccdec.c b/libavformat/sccdec.c index e95fd881a3..592609eb88 100644 --- a/libavformat/sccdec.c +++ b/libavformat/sccdec.c @@ -120,7 +120,7 @@ static int scc_read_header(AVFormatContext *s) next_ts = (hh * 3600LL + mm * 60LL + ss) * 1000LL + fs * 33LL; pos = ff_text_pos(&tr); - lline = (char *)&line; + lline = line; lline += 12; for (i = 0; i < 4095; i += 3) {