From patchwork Fri Sep 13 12:16:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Tomas_H=C3=A4rdin?= X-Patchwork-Id: 51566 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:612c:2986:b0:48e:c0f8:d0de with SMTP id ih6csp255476vqb; Fri, 13 Sep 2024 05:16:56 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXKsd1laaEWUgiGAR8zxIyZ0a6mZzHhJssGRwzYo0fgwDADGkQDuwCT5IyPrmUeYK0Pedw1Pod7gvc/8IWhC0Lw@gmail.com X-Google-Smtp-Source: AGHT+IGqDtmzIqI1HhVIyOu9IWEXzos69ZHHa5TPfFsSNY0Zymaa9qoncW7jHeRDHe8YhIzt5cCb X-Received: by 2002:a05:6512:3d0c:b0:535:6cbf:51a3 with SMTP id 2adb3069b0e04-5367fee46ebmr1806262e87.25.1726229816249; Fri, 13 Sep 2024 05:16:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726229816; cv=none; d=google.com; s=arc-20240605; b=OHunVsB9VRLikUq7rx4T2NJ57ZgFL8xIT5S2PIMTMJ404YYcFKgK/SBYlG0ieW/wAj /uL76a1+JyU8mTEIc+P+Ao5WjJTR5xkCkz0HbW7cUvj9BrwGuowzgpOHL9x3XUxUUUga k+orVKhlFwwRYnCH/uIDUFrWWinDWb1gfcpf4EpZ9FYl3qmhguN3osg/ZxWNKsPrKPLj zC5Nw5R4PR0+DjKZnlO3MgB1/pZQSK35kK3gf5jANOkDV88CvQM5nSkfRlUVDNI2ZPHl l2Z8CAd6YeJaIJ/6lB2TBOIdDNGPxumJDtwvOe0wA8ohMiQ6AeDdwcQssBbEafr1XArj YoqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:user-agent:references:in-reply-to:date:to:from :message-id:delivered-to; bh=cqXIW8pfLCBx4LllGX/PIzJPvlREN5QsS0p5cJu3cXM=; fh=e5zN9xSzcxLA6bGo3lF+CqTbY/oLwzApV03EO/RBfgQ=; b=RGupZCJ1WI1ok78I0Yxj0QswgDQA/nd/EukmYFYEdOgGhwCDThaIUlFt1kdAH0ApHU PGTQd0/2IeWcJz/C82DEvO7JCmtXbTbnkisU/8Px4tCJl/tZ1yn0Mkjf64g06JN3htTt JOAj/MeJwcSLpbnujrqZw6R4wt+d3XR0TqknCVR540R4c6A8YCqBF3ddFj9hztuy4nKr +doi5RoPIp8kzKj3H5r+tQyGZ0lV6q2neKGXwx60HoVNZvPkLxjlq4VUeCmEuIVxCvnU tSaKMf7+XWnx+BsI1iLFZbkQBI9r7q5a2chJHyOQEAFvFLMybKnO5kyJypywIYukoxTw rBrg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a640c23a62f3a-a8d25c51c67si966529966b.471.2024.09.13.05.16.55; Fri, 13 Sep 2024 05:16:56 -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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8AC6D68DF3E; Fri, 13 Sep 2024 15:16:52 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from glom.nmugroup.com (glom.nmugroup.com [193.183.80.6]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5784268DF31 for ; Fri, 13 Sep 2024 15:16:45 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by glom.nmugroup.com (Postfix) with ESMTP id 41297542441B for ; Fri, 13 Sep 2024 14:16:44 +0200 (CEST) Received: from debian.lan (m77-218-230-140.cust.tele2.se [77.218.230.140]) (Authenticated sender: git01) by glom.nmugroup.com (Postfix) with ESMTPSA id 8CE8454228E3 for ; Fri, 13 Sep 2024 14:16:43 +0200 (CEST) Message-ID: From: Tomas =?iso-8859-1?q?H=E4rdin?= To: FFmpeg development discussions and patches Date: Fri, 13 Sep 2024 14:16:42 +0200 In-Reply-To: <3ef5c36436349cd5957d0f200b6c64d5750673a1.camel@haerdin.se> References: <3ef5c36436349cd5957d0f200b6c64d5750673a1.camel@haerdin.se> User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] lavf/mxfdec: Handle KLV fill X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: VlcUhA//k03b Cuts down on "Dark key" spam in verbose mode, as pointed out by Martin Schitter /Tomas From 0ca53ebb7835624261b97903136579ec9a529736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= Date: Fri, 13 Sep 2024 14:10:34 +0200 Subject: [PATCH 2/2] lavf/mxfdec: Handle KLV fill --- libavformat/mxfdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 65ffa0d6b8..81938fe374 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -3235,6 +3235,7 @@ static const MXFMetadataReadTableEntry mxf_metadata_read_table[] = { { { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x04,0x01,0x02,0x02,0x00,0x00 }, mxf_read_cryptographic_context, sizeof(MXFCryptoContext), CryptoContext }, { { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x02,0x01,0x01,0x10,0x01,0x00 }, mxf_read_index_table_segment, sizeof(MXFIndexTableSegment), IndexTableSegment }, { { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x23,0x00 }, mxf_read_essence_container_data, sizeof(MXFEssenceContainerData), EssenceContainerData }, + { { 0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x03,0x01,0x02,0x10,0x01,0x00,0x00,0x00 } }, /* KLV fill, skip */ }; static int mxf_metadataset_init(MXFMetadataSet *ctx, enum MXFMetadataSetType type, MXFPartition *partition) -- 2.39.2