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 DD97445CF4 for ; Mon, 3 Apr 2023 18:26:43 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9F15968BD24; Mon, 3 Apr 2023 21:26:41 +0300 (EEST) Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8E5836808E8 for ; Mon, 3 Apr 2023 21:26:35 +0300 (EEST) Received: by mail-oi1-f179.google.com with SMTP id r14so16769728oiw.12 for ; Mon, 03 Apr 2023 11:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680546393; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=Mh/OWWr0U8WA/oe2ynqq3NJgSC7cJLHPk/Dl+31qUE0=; b=qvUDUb5+OUA6N8Nb2PDydAIBACg23/aOyAAJbtdovuMFZQWydGfIGpjUD8aT3Tm5B5 giKleEezwUHn4wbEVzn2GvNaexitEw+LLNrN6wVbuwfRPTDV8t2zobTiP/enwBVWBB6q cpjoJV6pX1ridOjPFkC8ItWCt+EcgNzD0cMK16PI2fvYCQbUX/+P7Vq52pJoqxxoHt3r b1+qQxox3c2GfRQYB1pMsMpQAwSlOdZtO8upt4xK2AqFoBwY2NImEThMhu76aeXrC2ey CPN1VeBw/y4ePPGEB4joNFQWy1d9QuwA8d1HT73jIqc2dFFzxCqihLzt+/s82pmwuu5L Posg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680546393; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Mh/OWWr0U8WA/oe2ynqq3NJgSC7cJLHPk/Dl+31qUE0=; b=h/D4YI6aibnPqP74kJ/dIzjP7DLu2BZ0p5GNzpiscia3ABRFnoTOBghkLJrJN1iTye 8HtgTiapaVJGWTPSMtXUmx9ogxk2BZlsGWJxRambqOQx3blWe/fkQttPTy1RBQMEvux3 nAfXFUZsNIIoDK89CSXaA6T2Xku76gkVq0qUImIZKazzFuljWI3Ulq/pX9xdUUNuQnpR fFcpm5fvN9nsDi8KWcIED5PaWS1VHhXJoT0nTRjo+9lAM3CfEbRGoyv8qBj+UKm4QSTk OIsU01dZH1ePp7gueBUsBHU/ygQly6DWJqMtLXUleBalmhSgATnQm1mnV8wURnU0fOsw dO6Q== X-Gm-Message-State: AAQBX9eYh73sUCO7bv/JosFR+cr9h2uDWbQT7lxldHE2tOTzSirciFzO ezgIec8enYVmOAQ59rN4zBDARb4/OQI= X-Google-Smtp-Source: AKy350aS5T2Amqzi+ly22HnDkxBBUWqA9X2fVqNPpmmg8mQPhak2jq2IPXi4SqH0LovKsrGxv9HxTQ== X-Received: by 2002:a05:6808:659:b0:384:16fb:b71 with SMTP id z25-20020a056808065900b0038416fb0b71mr133078oih.13.1680546393430; Mon, 03 Apr 2023 11:26:33 -0700 (PDT) Received: from [192.168.0.14] (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id i2-20020a4aab02000000b005251e3f92ecsm4203581oon.47.2023.04.03.11.26.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Apr 2023 11:26:32 -0700 (PDT) Message-ID: Date: Mon, 3 Apr 2023 15:26:38 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 From: James Almer To: ffmpeg-devel@ffmpeg.org References: <20230401152205.296-1-jamrial@gmail.com> Content-Language: en-US In-Reply-To: <20230401152205.296-1-jamrial@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH] avutil/hdr_dynamic_metadata: allow av_dynamic_hdr_plus_to_t35() to accept an existing buffer 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 4/1/2023 12:22 PM, James Almer wrote: > The function now accepts an existing buffer to avoid unnecessary allocations, > as well as only reporting the needed amount of bytes if you pass a NULL pointer > as input for data. > For this, both parameters become input and output, as well as making data > optional, and the max payload size define is made public so library users can > just use that f they want to use their own buffers, knowing it will be enough > for any input AVDynamicHDRPlus. > > Signed-off-by: James Almer > --- > Missing version bump (Or maybe i can just not bump since this function is > recent enough?) and APIChanges entry. I'll apply this with a version bump soon. _______________________________________________ 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".