Message ID | 20210204191005.48190-36-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 D104C4480C6 for <patchwork@ffaux-bg.ffmpeg.org>; Thu, 4 Feb 2021 21:11:44 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B44B968AA46; Thu, 4 Feb 2021 21:11:44 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5158168AA1F for <ffmpeg-devel@ffmpeg.org>; Thu, 4 Feb 2021 21:11:41 +0200 (EET) Received: by mail-qt1-f175.google.com with SMTP id z32so3216201qtd.8 for <ffmpeg-devel@ffmpeg.org>; Thu, 04 Feb 2021 11:11:41 -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=uzvl0MPyfpAZQjSRKLDhQVc+DG/3gDdlN1nZF1QOHxY=; b=cGijEUgbqSzLtZiwbKrDHftvOubmpUQE8gV3zu6nfetUIeC2G2ol29h0NO5XaJ5Ldn T1uUCcQSgmO1PEXSoPTJ9zdR8CWoGolcr7Ak3nWVzZmIL52WbQEwSjwhnuE+rNU04bhv FOQGS/bXKxq9rmxcd5hMlnY0fqerFAkCQH9Np6KA06b3lJPDi1vax/ISwO3BWhINj5pI b+QnonrIjbMjxnOGXkKZdf+AZdDJJBRwdS13KpR2l8j/8Y/RrcqQZ9yETGPTtSLsicDs 064U203TIBgu4KsVWH12sZue5JH2SrS9dgNzA6sSm9CN7EfYEMWOd81CuXdFLnXX0yxv O61g== 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=uzvl0MPyfpAZQjSRKLDhQVc+DG/3gDdlN1nZF1QOHxY=; b=pNpFcl4bSfQ3C+L3G/WjfuH+EgmFI+Ml3bMrNiMdhh1cE3yDNC8nTG4B3EYOfCkcxx b/QAjO3Xb62wb96yGuT5/PNLIXiyQoUGJ24hBxmlDgg1NYnDk7swCpXE3lVnmT7XiFZ2 YfVW8ITUhM1feGBGC0NRnAfjFyIY+tb2wMI4Z5w7PLEUusuFNCSOTa+Nex6QO69YCopD K6JXHMK6a2EQhpTxhAuCO+MhIA4zJZBsZNW/EMRSfu7UZ8UEMggBAwIbICz7J6xPNnhi EspaU3/vFfZzzhgf7iyCCmeaDJtj+NNRQu8/pQXQgnsg20U8yiOJDt1SXLkylbt+3kGi DEvQ== X-Gm-Message-State: AOAM5330Pucl7MEWANHgvZQ/oxv6zpzvHBZOxjGKJPDAQwiOMJBGOuQt 2HNufuCvp3jfF6Hx5L7rO74x+CCeG68= X-Google-Smtp-Source: ABdhPJzKxZeYcAT2KWgGe+Y06LrJvjTw3IsRJcbepU3uz3EsrONTpB03A60/zyD0nozL2LDX3diRkA== X-Received: by 2002:aed:2070:: with SMTP id 103mr1020263qta.287.1612465899922; Thu, 04 Feb 2021 11:11:39 -0800 (PST) Received: from localhost.localdomain ([181.23.64.183]) by smtp.gmail.com with ESMTPSA id t14sm5889291qkt.50.2021.02.04.11.11.38 for <ffmpeg-devel@ffmpeg.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Feb 2021 11:11:39 -0800 (PST) From: James Almer <jamrial@gmail.com> To: ffmpeg-devel@ffmpeg.org Date: Thu, 4 Feb 2021 16:09:50 -0300 Message-Id: <20210204191005.48190-36-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 35/50] avdevice/xcbgrab: stop using 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/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c index 95bdc8ab9d..908e189b35 100644 --- a/libavdevice/xcbgrab.c +++ b/libavdevice/xcbgrab.c @@ -184,8 +184,6 @@ static int xcbgrab_frame(AVFormatContext *s, AVPacket *pkt) data = xcb_get_image_data(img); length = xcb_get_image_data_length(img); - av_init_packet(pkt); - pkt->buf = av_buffer_create(data, length, xcbgrab_image_reply_free, img, 0); if (!pkt->buf) { free(img); @@ -301,8 +299,6 @@ static int xcbgrab_frame_shm(AVFormatContext *s, AVPacket *pkt) free(img); - av_init_packet(pkt); - pkt->buf = buf; pkt->data = buf->data; pkt->size = c->frame_size;
Signed-off-by: James Almer <jamrial@gmail.com> --- libavdevice/xcbgrab.c | 4 ---- 1 file changed, 4 deletions(-)