diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-05 21:42:58 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-11-01 20:07:56 +0100 |
commit | 736b510fcc386df89a403a3ed11c4d1dec599cd1 (patch) | |
tree | 7727f2a5c55efb963c3f9f09d43faeaded1c309c /libavcodec/tscc2.c | |
parent | 26c0a7321fdef730050156fcef0b986ac4373b6c (diff) | |
download | ffmpeg-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