avcodec/cbs_h2645: use AVBufferRef to store list of active parameter sets
authorJames Almer <jamrial@gmail.com>
Tue, 8 May 2018 23:09:28 +0000 (20:09 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 9 May 2018 14:14:14 +0000 (11:14 -0300)
commitc6a63e11092c975b89d824f08682fe31948d3686
tree136bf7a4a2da490802404b5ff7e8d37d070d554f
parent293a6e83325a7379c13469193492fa4cb2488785
avcodec/cbs_h2645: use AVBufferRef to store list of active parameter sets

Removes unnecessary data copies, and partially fixes potential issues
with dangling references held in said lists.

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/cbs_h264.h
libavcodec/cbs_h2645.c
libavcodec/cbs_h265.h