[FFmpeg-devel] [PATCH 01/17] avcodec/avcodec: add side data to AVCodecContext

Anton Khirnov anton at khirnov.net
Tue Sep 5 14:07:32 EEST 2023


Quoting James Almer (2023-09-05 00:08:48)
> This will allow the propagation of global side data within the AVCodecContext
> instead of having to do it inside packets, and thus be available during init().
> Global and frame specific side data will therefore be distinct.

This commit message is misleading - there is already
AVCodecContext.coded_side_data for exactly this purpose. And after the
changes from the last iteration I see even less of a reason to replace
it with a new field.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list