Message ID | GV1P250MB07376677141DD377158B03498F499@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp521029pzh; Thu, 15 Sep 2022 12:28:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7feI6XKKr5YdpSXLkWWzyjpIQrTClJMjSG4kUxcxkwauC3klud7PYln7N4hw6SxpQBdkuR X-Received: by 2002:a05:6402:b29:b0:44e:d429:749d with SMTP id bo9-20020a0564020b2900b0044ed429749dmr1141370edb.423.1663270120855; Thu, 15 Sep 2022 12:28:40 -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 l20-20020aa7c3d4000000b0044f2fb68fe6si130917edr.495.2022.09.15.12.28.40; Thu, 15 Sep 2022 12:28:40 -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=gNlqRGlT; 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 0D15D68BB95; Thu, 15 Sep 2022 22:28:35 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-oln040092069055.outbound.protection.outlook.com [40.92.69.55]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 29CBC68BB95 for <ffmpeg-devel@ffmpeg.org>; Thu, 15 Sep 2022 22:28:29 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NiBKs++mJXp7ZdFVBbt9bPI2jKPR7t/ti3smpkQT5ZsEYJHRyUfzFJy2LXl5ZXjifejZiGhwAWaJo28/no80v6XNi4Lo3LHfWpKVCm+KCXP80WX4tZ0uL56/dDXA+w161hpnoZGOOZkpx4Pk4CNVQDMOOoaoTdDig6n/ATHH0mSL5kDyw3Um7j8ZyirFZGKsK1RExscADNc0wbe253n22xcmZiDUId0sFVzOQQFSi+vASlN8zqOyBjCeR1g2ZLSI6bhFAYBL0WliOwklJhUXiNsCYdJD+wDFCZXozXBxHPlllGPfTUhkWtDeWVefkxESSCLiIegNtrEU/qHnsLU71A== 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=Ma0kAsJL1OY5fAduVkTxjwZXp0hHTJJfAzf+7pdP0i0=; b=dr2XELFY0HOl1RuKUbU/LcVgX7/p84R7YHL2Zbyy1doRNkxck1kcwyMkVm02+Nj+qFW6bHt1OvhFGc3WVUXlBldL4b69D3xvJy3a/K9zZ5Z0r306FuBllVV7b2cUdVb4WMWmd0w0zQER/ITiYLgkpMLUyJP85r+Z432l2kpdHQ5tk1WF2NkQ1aKAB21N/x9mTofeVIhc3sqoIq6ZNwQZpfmVTcO+DYej2lPIh/TC30n+JkkZg1qcuQ3DHpEp6kgiri281hYMh/6VAAJ/ffS4piknmBM3cPPMZcdEeATif6bE8+1IOvHTwNMSxgTznMPPKv81YgZNoMur4Kj57VsdJw== 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=Ma0kAsJL1OY5fAduVkTxjwZXp0hHTJJfAzf+7pdP0i0=; b=gNlqRGlTj2yFbhIu7hQWbRYWF2NuQe/5pSPk8ZlfUv5PRnIi0K14yN4qoglTxL5md6ql71cRuR0JBNH9/TyumBGXrvjIxAbybIclv9BlSUqGNsyqDFF34S0VeAddJckifTMOo9aG6W2TecwC1nCuDohyRERQOYIk11f0Twv6u5EczfEQ9DN7ujNMMaWoqCrHIftmvC3nBuDIWX0vXZF3ExOlUwlsYoTC23RMFhlvrwXKdI+OO8jbsN3g8OZh/5krVRnUena05KQNaayI3b2GowFV5r52IdZukbQF5IPkiivTEXYopvDHuz6LU1yOftzzRgELzj+UGYoNBZdHgYsa+g== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by DU2P250MB0014.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:2b7::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.15; Thu, 15 Sep 2022 19:28:25 +0000 Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::51a4:ed23:ea45:dfeb]) by GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::51a4:ed23:ea45:dfeb%8]) with mapi id 15.20.5612.022; Thu, 15 Sep 2022 19:28:25 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Thu, 15 Sep 2022 21:28:04 +0200 Message-ID: <GV1P250MB07376677141DD377158B03498F499@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220915192809.2761301-1-andreas.rheinhardt@outlook.com> References: <GV1P250MB07379524B6965693D412DE238F499@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> <20220915192809.2761301-1-andreas.rheinhardt@outlook.com> X-TMN: [989KFpmbKPVswNd7aQJ9ZWzCje+rAZgzGSPgiM1kUfo=] X-ClientProxiedBy: ZR0P278CA0117.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:20::14) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20220915192809.2761301-3-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|DU2P250MB0014:EE_ X-MS-Office365-Filtering-Correlation-Id: 4d656451-be49-47f4-ada8-08da97507581 X-MS-Exchange-SLBlob-MailProps: ZILSnhm0P3nhHBm6ef2k4kg+632kkxCLcbAgZiSd6diK9zA/afVUEd2urWaYxaAjmn76PuYgoyGLAbH1mUZE5V7yD9gzXw4qLOybEd/PiZuQdvHO0c309xsj7ykRq85BbiwZL2AmUSW4nn13h4eUQmhNxW4VYuje0/P0Itx0HpEoQx6DBujAyqEwLhqr3GmlD4oLVDrfaO1LdnfoSmrWLzgI5NxZ09IKRBdrlQ72fCbNPvzlHlXQZi1OtH9v3PFUmmVUm3RYPI+RL0zQi10FHoCcYsr02vymwK+2tO+1kT4xU0kxW1PBQ/tCEnp0+AtpNiXKE9uVVCaij5kMsy3CLfhuKANaz/coHkEDhlkDTXAeGiBQGQneBPE3S9gtl1uaRS2hIyQHT58jYTBNBUmZGubUQ5MUowJpLOaDgz0m5PKeb7VlQujI0ulKZ+PDWcnSvPwaSge11zh/yEZQj2obOiQkB2VjGjMkU2p/dZvi+AtMks796u7t9f2fLm7/pD+4BZCFgqL64KvqQk5NJ2cnZpypaMpSKKQhtaDpnteJnju2Vf3vJ3cOlLrGCJlC8pdTVayLHvTFRN9Sf6BfUFbGayXN6GTFDUuOI9S0QsCZX8l44/SIBTIQGFZr9aEHVbfKPTCpG2BJ9N3ueR9HvX201IUrtlL1dkdJJfgsk8+deaFxvGz9mkGkn06tjpu58BX3ClwnVlsg48rkVOY9R87kvpP239YnIj2MYp9rwnnqJQ6k/JQvLDbOhJBWPGHoxhec4CvqIRL0XcMn5g4eCNBi//DfpmPqddwI X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YtbwaC6yvaRVHkshn7MLvWZObtUg5Ch4lzCpM3DQP7KueXkIod1hnZyxX7sEaGhqB1i18OquvceW3tRfvVC/m9uUx99slxjj095ixh0/BPngNjyXsMMNMtEtuMJ3ZqUgT93XrL6c0NjfE2tO5F6uqhawcnXvhWMG19RGuplsMvkLaM0yYGj+nalqXL1dOLH6UX/egxwfwZqp6MYPXj7bOwGj1lFMWt52F4ikOnKgEiO5Jhqlh8FFWeTmecfvW2sEw+5E8eaSZBS17sNfRWsXrseIJh0cyxLCYcKWHXBQ00TC7LVyt7p246BE9RqXqNMUbaZPqpjrrFODNP792HUNNERiZKCTwMIFoJ64snoUnYksC2OlDD6y0ny9X1MqJvZfslF54zNGPDhMmaz1kYurpVYNSEtaG33OiXooEWNo2X0MTlUpa7wEQI3Hah6S0EjECR55UJRnjuPDu+98DFDFJpcQD7FFHvOcIbPcJxGGbmpcj23uIhtMG97G7ahDKNOLLysbAgojlKVveTjMD0uKBfbyV2mwS3vtniY5fTOZW794+MVxfm0TF7dsovQp96dq7JcCBACmejnAjl6GBINbM1oPRKzqS4lb1PrP8lbXHDDmpxw3qjiVuy3Zzfk8vDOrnk5DIPFKGUyQWMo1Nag1aA== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: RKMeAZ1/pX9TrhjiJBeLBkPNXOopub16Qy2IU6tmKZWTSmGEfBDpD6jT9QXB6I6MN6fk/S6eeE/ROQmoiqE1Lrq0AueDiAdxNQyOM0MQv5Oa4aZ8IBmrbYiU2C4LbJE1Gk7sT6EAKVv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Q6JcRYehRKTAhDGrNmVMP80qMhXOGp6uhTSdru1LFKbZmm/HSGGvlN+/wf9rCVl+C2sAzbGSmF4vR01Fn4IcgP7yKyVeN1t07Xjz6aIv0= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d656451-be49-47f4-ada8-08da97507581 X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2022 19:28:25.3456 (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: DU2P250MB0014 Subject: [FFmpeg-devel] [PATCH 4/9] avformat/aptxdec: Don't set AVCodecParameters.frame_size 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: wsZV1xz/FxaE |
Series |
[FFmpeg-devel,1/9] fate/audio: Add tests for APTX (HD)
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavformat/aptxdec.c b/libavformat/aptxdec.c index 693316eeb0..aa86bfe330 100644 --- a/libavformat/aptxdec.c +++ b/libavformat/aptxdec.c @@ -58,7 +58,6 @@ static int aptx_read_header(AVFormatContext *s) st->codecpar->codec_id = AV_CODEC_ID_APTX; st->codecpar->bits_per_coded_sample = 4; st->codecpar->block_align = APTX_BLOCK_SIZE; - st->codecpar->frame_size = APTX_PACKET_SIZE; return 0; } @@ -70,7 +69,6 @@ static int aptx_hd_read_header(AVFormatContext *s) st->codecpar->codec_id = AV_CODEC_ID_APTX_HD; st->codecpar->bits_per_coded_sample = 6; st->codecpar->block_align = APTX_HD_BLOCK_SIZE; - st->codecpar->frame_size = APTX_HD_PACKET_SIZE; return 0; }
This field was misunderstood: It gives the number of samples in a packet, not the number of bytes. Its usage was wrong for APTX HD. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavformat/aptxdec.c | 2 -- 1 file changed, 2 deletions(-)