From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 7885442DA0 for ; Fri, 8 Jul 2022 11:49:16 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C8A6168B8CC; Fri, 8 Jul 2022 14:49:13 +0300 (EEST) Received: from mail-oi1-f182.google.com (mail-oi1-f182.google.com [209.85.167.182]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6E60068B850 for ; Fri, 8 Jul 2022 14:49:07 +0300 (EEST) Received: by mail-oi1-f182.google.com with SMTP id w62so5112458oie.3 for ; Fri, 08 Jul 2022 04:49:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=N7mdjAKbr6BLgY04n/fGNaZHjillaYKO0mAtL+3HkIU=; b=j3H82w/8F+Rnkzw9GgBtaqUMjZC+ARJStYehdjcYOcL5/XX6CxMytEezRyDvieFj6f k+2vgVjY2s1Q7/PRr7YDUawguo/79m0HQlSxIUvUSQHSouoqekz9oQ8lT1vBggoGEjcT Jmn7/cTJuzhWFEd5E8LrLEJmNz9AkH4BdYhNSj7+eJaeWrJsCahHN5b0KDcpYaWNW7d+ aA7xOnqpl/ji3Tsi8Kzt9z6zLQRvuN8jptkeyLi72refXf50F8nu+DshAELbaXhvg7ee Pn6gvX1Eb7N5ZjABnr9XgJW+r7/7SDOYAsHt1oOjnxHd5fsHUr5gfdJf/AZrMaAexns5 VFAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=N7mdjAKbr6BLgY04n/fGNaZHjillaYKO0mAtL+3HkIU=; b=6LrPVg9faQgdHTZDDlpL42G8HKf+cwLltvg3sNh4tDT3/4+0LRg5NfBWiGb4/dtOBk mRugEc5Vt54gqHawjFy7STz0BDqXdGjyuMz3yC787xpKnC53q3FbIIsXLMwohnraLnDd rBYLZAwElXZW8n1lsYN7bCSD8lLp1CWyPvv1BB/Gr2vA1HI4syBTrT1037mzWjADlR7a DIfE2u1ttTCwmvoZFkNUy2iaOvl4kZlcjy3G+xfkKoS6anRxK2zyVt2HoeIoLGNCAqxD CUTAZolfvXq/9rg153yxya0LueX7F+zIkRPlGUu/Qi9J3WX4QKjZOKUSHaanXeQf+Zvf aH0g== X-Gm-Message-State: AJIora8citcXWtISdmrFTF5jTbLUawMbvxi7AkbGpfi7zqz5j/fgNOKW nCYZFWvxHd5AUZAiDwWrLi4CTgiIWFvw+g== X-Google-Smtp-Source: AGRyM1us+qDCwnZoSnm7omWwVjwvcAWCNUv7LJrR+w+t/bOWFNq+dWunnBCR8Kx49twh6EnllGEg3w== X-Received: by 2002:a05:6808:1387:b0:335:a716:62cc with SMTP id c7-20020a056808138700b00335a71662ccmr4888010oiw.213.1657280945096; Fri, 08 Jul 2022 04:49:05 -0700 (PDT) Received: from [192.168.0.13] ([186.136.131.204]) by smtp.gmail.com with ESMTPSA id x10-20020a9d704a000000b00616d98ad780sm12653355otj.52.2022.07.08.04.49.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Jul 2022 04:49:04 -0700 (PDT) Message-ID: <544c599f-7c8b-9a2f-8db1-5e3d0f8e54a4@gmail.com> Date: Fri, 8 Jul 2022 08:49:03 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20220607113500.GU396728@pb2> <20220707204757.GV396728@pb2> <5a3163b7-e80a-0a51-6fc4-e793285cf908@gmail.com> <7e75ad2c-584e-6acc-dc15-89850c4af774@rothenpieler.org> From: James Almer In-Reply-To: Subject: Re: [FFmpeg-devel] FFmpeg 5.1 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 7/8/2022 7:23 AM, Timo Rothenpieler wrote: > On 08/07/2022 12:17, Timo Rothenpieler wrote: >>> The lavfi changes, more specifically wrapped_avframe, still rely on >>> sizeof(AVFrame) being used outside lavu. We really need to stop >>> spreading its use and find a way to change this behavior. >>> I have tried like two different solutions and both were rejected, so >>> it's not going to be me. >> >> wrapped_avframe is used all over the place in lavd already. >> Is that really a problem, as long as it's within another libav* library? >> Given we don't support mix-matching library versions in the first place. > > Also, thinking about it, wrapped_avframe does not actually rely on the > size of AVFrame at all. > It's only set on the buffer as a purely informational thing. No, it's used by the "decoder" https://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/wrapped_avframe.c;h=06c274eed0b99e9ba5a703df963ef4c8f67dbe1c;hb=HEAD#l90 > The only actual data in the buffer is a pointer to the frame. > So more accurately, the size of the wrapped package could be sizeof(void*). > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".