[FFmpeg-devel] [PATCH 00/12 v2] AVCodecContext and AVCodecParameters side data

Anton Khirnov anton at khirnov.net
Tue Aug 29 10:55:42 EEST 2023


Quoting James Almer (2023-08-28 14:34:52)
> This is an updated version of the set i sent last month.
> Changes since the first version:
> - Renamed the field in AVCodecContext to not conflict with Jan Ekström's
>   patchset introducing a similar struct for frame side data.
> - AVCodecContext.coded_side_data is now deprecated for encoding scenarios
>   only, leaving it in place for the (as of this set) undocumented decoding
>   scenario, which is now documented. This way coded_side_data and
>   packet_side_data have distinct and clear usage for decoding.

I do not understand the reasoning for this, it seems to me like a
pointless API break, after which we end up with two fields for the same
thing.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list