From patchwork Fri Mar 27 20:43:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timo Rothenpieler X-Patchwork-Id: 18446 Return-Path: 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 821FB44AAA2 for ; Fri, 27 Mar 2020 22:43:22 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6F51F68B88C; Fri, 27 Mar 2020 22:43:22 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from btbn.de (btbn.de [5.9.118.179]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0409368B6DE for ; Fri, 27 Mar 2020 22:43:15 +0200 (EET) Received: from Kryux.fritz.box (200116b864330400549899f14c6ce4e5.dip.versatel-1u1.de [IPv6:2001:16b8:6433:400:5498:99f1:4c6c:e4e5]) by btbn.de (Postfix) with ESMTPSA id 8002717DC25; Fri, 27 Mar 2020 21:43:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1585341794; bh=KWpGRXTlmaO9ET/SC3+XU62qNv2GNZRgn2nL97cyweE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Jh3ZOMFMYfVHp2NI9EegQDbgBqw5tdmeGl2G8MVkeZJmVJliMPn6TpSn8Ncws50NC LhXTl2KtNafsLY8gtq2waxd6heP0B83ULOqOLgWEQvfcmQV7Z9SbXYDFrl97So+IjO 0js2mU9J6Gi/gIfz79hpNmPi/6FSkKXXvUrTYqSXhSnN0Ex0J2Kdl/Ad/AOvVy+5EI EFdc1ug/oT/fTWsPu+7gd+YBeFPPAuibHrwK7PRmjTxfcyehZlVotkJKxA8qnTb9R5 kobFCyX22VnZY957gw6cS/MBvf//OsqcX0SFp2qtkf8jqIW0tT2BwpmgLYBqfaSWyR SjLKov171nABA== From: Timo Rothenpieler To: ffmpeg-devel@ffmpeg.org Date: Fri, 27 Mar 2020 21:43:03 +0100 Message-Id: <20200327204303.29174-3-timo@rothenpieler.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200327204303.29174-1-timo@rothenpieler.org> References: <20200327204303.29174-1-timo@rothenpieler.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/3] libavutil/hwcontext: correctly set extended_data on hwframe_get_buffer X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Cc: Timo Rothenpieler Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- libavutil/hwcontext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c index d09a15a249..b01612de05 100644 --- a/libavutil/hwcontext.c +++ b/libavutil/hwcontext.c @@ -557,6 +557,8 @@ int av_hwframe_get_buffer(AVBufferRef *hwframe_ref, AVFrame *frame, int flags) return ret; } + frame->extended_data = frame->data; + return 0; }