[FFmpeg-devel] [PATCH 23/38] avcodec/hevcdec: respect side data preference

Marton Balint cus at passwd.hu
Fri Feb 23 21:11:49 EET 2024



On Fri, 23 Feb 2024, Anton Khirnov wrote:

> From: Niklas Haas <git at haasn.dev>
>
> If the time code side data is overridden by the packet level, we also
> make sure not to update `out->metadata` to a mismatched timecode.
>
> For HDR side data, we unfortunately need to omit a return check because
> the new function does not distinguish between OOM and overridden side
> data.

I don't think this is acceptable. If the API is not capable 
of differentiating between OOM and overridden side data, then 
the API should be fixed.

Regards,
Marton


More information about the ffmpeg-devel mailing list