Message ID | 20210204191005.48190-19-jamrial@gmail.com |
---|---|
State | New |
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 E271B448077 for <patchwork@ffaux-bg.ffmpeg.org>; Thu, 4 Feb 2021 21:11:04 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D221A68A7FD; Thu, 4 Feb 2021 21:11:04 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B18C868A77B for <ffmpeg-devel@ffmpeg.org>; Thu, 4 Feb 2021 21:11:02 +0200 (EET) Received: by mail-qt1-f173.google.com with SMTP id h16so3195568qth.11 for <ffmpeg-devel@ffmpeg.org>; Thu, 04 Feb 2021 11:11:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=RhQaKCpQseDnTCA4XNzU5CLyNrk4fhz9lvsnD2FiDDA=; b=kMFlPfJBZZgPbVA7Ai/AP0dI7Q7asmyVSmk15msB6tWUpx2uiJ+enS1c7dD0wPrstD 1QSl194RsaMoZlNHbiJTEaqoKTSpxdsbjzrhDifSsBUma2KOcYNQxUqbFqo1OHoxWQAZ oGcEcO1krvVyzQciaS6l18KyvlT0zkm9oUElRzBrLvBEsIS7qPcJ24zc48hSvqGenPlV spoLt4nrcIYDVL4Rs85LltF99VRQgjqE4g/yHYRKUIbNawaE1jL7SY55vVqdVgBGCzaF qRjLl2Ulqf83TKsQbgYjpvZMGI1zFmfYBMZcHBZ3ppDbV6jh+5YkafKTeG3k//s7Guo+ 19oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RhQaKCpQseDnTCA4XNzU5CLyNrk4fhz9lvsnD2FiDDA=; b=CKtU/giz4+f6/O/JbCyLDg8d44TZYuNYZ+vnRdCErSJbNnnkQ9GBW7v5eZAVBdhoQy UgEPKlcSEwEDJqweK0pTkpLTIE6MmaWcB1r7JGv23Wav0Or5yxIscqDHfzjoxmoMnvw7 nF7qCebum/Wsw+zZ0X3F4SDZn+VBzAe2k0hF7NF4T232AP3mx6Rp+5IhbRiZVHTvI9Ga eAP831NTCT6mcz+BeqIIJNxqZeTe+gwbMm/91YkUbGVH4IasonOt8E5GnVYwAr59F9oR LbsXHJCASUXAiHF+aJNAt9ET4MBYkRDfDSz2qnU7PIhdy00RylwJIFEweM48hR0ZAOSX ewQA== X-Gm-Message-State: AOAM531cRxZmfWjjfRoZEsHkvP0Gnrn5MorhnJt+9T9rCIScy7Zyd3PU iq42Pxj7ztIyTS+dMJH6u2+QOEIeO+M= X-Google-Smtp-Source: ABdhPJxYPWhQMFXuwc8IuH94gmDbdw8F3Sx+eSJmmmHnhLPho9yj/Obxe5QaO/NM/gGxb3AjdpcJqA== X-Received: by 2002:ac8:4510:: with SMTP id q16mr1080751qtn.144.1612465861096; Thu, 04 Feb 2021 11:11:01 -0800 (PST) Received: from localhost.localdomain ([181.23.64.183]) by smtp.gmail.com with ESMTPSA id t14sm5889291qkt.50.2021.02.04.11.10.59 for <ffmpeg-devel@ffmpeg.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Feb 2021 11:11:00 -0800 (PST) From: James Almer <jamrial@gmail.com> To: ffmpeg-devel@ffmpeg.org Date: Thu, 4 Feb 2021 16:09:33 -0300 Message-Id: <20210204191005.48190-19-jamrial@gmail.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210204191005.48190-1-jamrial@gmail.com> References: <20210204191005.48190-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 18/50] avformat/id3v2: replace call to av_init_packet() 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> 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 |
deprecate av_init_packet() and sizeof(AVPacket) as part of the ABI
|
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/libavformat/id3v2.c b/libavformat/id3v2.c index 97f6cc8a68..3800f21ef9 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -1159,7 +1159,7 @@ int ff_id3v2_parse_apic(AVFormatContext *s, ID3v2ExtraMeta *extra_meta) av_dict_set(&st->metadata, "comment", apic->type, 0); - av_init_packet(&st->attached_pic); + av_packet_unref(&st->attached_pic); st->attached_pic.buf = apic->buf; st->attached_pic.data = apic->buf->data; st->attached_pic.size = apic->buf->size - AV_INPUT_BUFFER_PADDING_SIZE;
Signed-off-by: James Almer <jamrial@gmail.com> --- libavformat/id3v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)