[FFmpeg-devel] [PATCH 02/11] avcodec/codec_par: add side data to AVCodecParameters

Anton Khirnov anton at khirnov.net
Tue Oct 3 14:23:11 EEST 2023


Quoting James Almer (2023-09-27 15:12:33)
> This will simplify the propagation of side data to decoders and from encoders.
> Global side data will now reside in the AVCodecContext, thus be available
> during init(), removing the need to propagate it inside packets.
> 
> Global and frame specific side data will therefore be distinct.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavcodec/codec_par.c | 48 ++++++++++++++++++++++++++++++++++++++++++
>  libavcodec/codec_par.h | 11 ++++++++++
>  2 files changed, 59 insertions(+)

LGTM

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list