[FFmpeg-devel] [PATCH v10 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

Michael Niedermayer michael at niedermayer.cc
Fri Apr 4 23:39:14 EEST 2025


Hi Romain

On Wed, Apr 02, 2025 at 01:29:33PM -0500, Romain Beauxis wrote:
> ---
>  libavcodec/decode.c | 130 ++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 130 insertions(+)
> 
> diff --git a/libavcodec/decode.c b/libavcodec/decode.c
> index fca0c7ff58..b754ea13b6 100644
> --- a/libavcodec/decode.c
> +++ b/libavcodec/decode.c
[...]
> +    // If node alrady exist, we update with the latest value.
> +    if (ret && ret != pending) {
> +        av_free(ret->data);
> +	ret->data = pending->data;

stray tab in indent, this cannot be pushed

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250404/0eec1682/attachment.sig>


More information about the ffmpeg-devel mailing list