[FFmpeg-devel] [PATCH] avcodec/libx265: add support for reordered_opaque
James Almer
jamrial at gmail.com
Wed May 20 01:56:46 EEST 2020
On 5/19/2020 6:40 PM, Derek Buitenhuis wrote:
> On 19/05/2020 22:03, James Almer wrote:
>> When pic->reordered_opaque is 0 (default value) x265pic.userData will
>> remain NULL. This in turn means x265pic_out.userData will also be NULL
>> and avctx->reordered_opaque will be set to 0, so it's functionally the
>> expected behavior.
>> This is done to avoid a malloc() per frame in 99% of use cases where
>> reordered_opaque is not going to be used.
>
> OK, seems fine then.
>
> - Derek
Pushed, thanks.
More information about the ffmpeg-devel
mailing list