[FFmpeg-devel] [PATCH] avcodec/libx265: add support for reordered_opaque

Derek Buitenhuis derek.buitenhuis at gmail.com
Wed May 20 00:40:32 EEST 2020


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


More information about the ffmpeg-devel mailing list