aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tscc2.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-05 21:42:58 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-11-01 20:07:56 +0100
commit736b510fcc386df89a403a3ed11c4d1dec599cd1 (patch)
tree7727f2a5c55efb963c3f9f09d43faeaded1c309c /libavcodec/tscc2.c
parent26c0a7321fdef730050156fcef0b986ac4373b6c (diff)
downloadffmpeg-736b510fcc386df89a403a3ed11c4d1dec599cd1.tar.gz
avcodec/h264dec: Use RefStruct-pool API instead of AVBufferPool API
It involves less allocations and therefore has the nice property that deriving a reference from a reference can't fail. This allows for considerable simplifications in ff_h264_(ref|replace)_picture(). Switching to the RefStruct API also allows to make H264Picture smaller, because some AVBufferRef* pointers could be removed without replacement. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/tscc2.c')
0 files changed, 0 insertions, 0 deletions