Message ID | 20210204191005.48190-18-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 317E5448077 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 1CDA668A77B; 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-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0C0A868A755 for <ffmpeg-devel@ffmpeg.org>; Thu, 4 Feb 2021 21:11:00 +0200 (EET) Received: by mail-qk1-f174.google.com with SMTP id a19so4486648qka.2 for <ffmpeg-devel@ffmpeg.org>; Thu, 04 Feb 2021 11:11:00 -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=RZ7TtkMMX0XgGFHn2R5r8m01hGacN7yJhMynt2ZYeNI=; b=soLVa+Z49T5Lgh90jQ2iGkoSHLwDBHXGZE95YEcPZHGqtQh2geu0+hzDrFk61afb0O Qys18IXkJcW9juiNJVbCXPmTQimI1BgcQHGpgo0LgrY04zzUPUhn/kIuouHyynyilU0U +SZMHVzrY2xUhqkgBM4rTM4v6kC1YiHrM+Y+8hoYlmL5LteULh3pTFliCFP6f2wFcZAB WYCSFBVkCJGdXYUTavMizCkRx5EmWzUWZPeDngq2B7G1umy+VS+8l7jg1a1lHuKFGtgB PNh5kBnr2Vm7Ipq4IP3sU9uU8gQ11BHPmbgxKqSqHbDw0bV3AXIDkslI4ah6UIg8SmKA z3jw== 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=RZ7TtkMMX0XgGFHn2R5r8m01hGacN7yJhMynt2ZYeNI=; b=qMwbbyck86cZyInRoKohMXqC0jHzLpLdPbwG/4pMxis4w9yJZX3g8fJH6EN/FaMjFI wCUT0hnxT318D/zok7sOReR3fVbd+zrxTGV0rtNUZv7wOQNZOdpDTUd/Ll7mwwr/7DXP bLhU0E3cTsTbwSFeIwZywHDYYJYGvK3N1FL1tDvhhKlj2xpghCKaxB0zxTdPSPZ6T9+c dAWUCdnW16fE7IJvujyETPD6QpFDwfvRlpYCBLHUcNfZc3deaRQk+pSIT4u6Pnv8Lt6S 6k3+U2z8ZErAn6TEgEAUZ9ukfvRI+Scyu2mqNtr71kZb0NZ/GtGScxC7oFemMkwTwMFG QTPQ== X-Gm-Message-State: AOAM531iDxnp43HD/3VHJXp9klyJuEmBwukZY//wdq4djF72tSdPdd2O EnlCcsAvpYWqYREOvmg50gKZxWwZb+k= X-Google-Smtp-Source: ABdhPJw5RQueJnsFuQKoHY/E0iFTTmfeGcF46A+cYOO4i9sH+3W0gKVRUJw98kHo8tp1gmQ8+eXyiw== X-Received: by 2002:a05:620a:15ab:: with SMTP id f11mr638389qkk.498.1612465859664; Thu, 04 Feb 2021 11:10:59 -0800 (PST) Received: from localhost.localdomain ([181.23.64.183]) by smtp.gmail.com with ESMTPSA id t14sm5889291qkt.50.2021.02.04.11.10.58 for <ffmpeg-devel@ffmpeg.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Feb 2021 11:10:59 -0800 (PST) From: James Almer <jamrial@gmail.com> To: ffmpeg-devel@ffmpeg.org Date: Thu, 4 Feb 2021 16:09:32 -0300 Message-Id: <20210204191005.48190-18-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 17/50] avformat/flac_picture: 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/flac_picture.c b/libavformat/flac_picture.c index 53e24b28b7..f15cfa877a 100644 --- a/libavformat/flac_picture.c +++ b/libavformat/flac_picture.c @@ -165,7 +165,7 @@ int ff_flac_parse_picture(AVFormatContext *s, uint8_t *buf, int buf_size, int tr RETURN_ERROR(AVERROR(ENOMEM)); } - av_init_packet(&st->attached_pic); + av_packet_unref(&st->attached_pic); st->attached_pic.buf = data; st->attached_pic.data = data->data; st->attached_pic.size = len;
Signed-off-by: James Almer <jamrial@gmail.com> --- libavformat/flac_picture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)