diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-19 16:07:07 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-21 16:31:42 +0200 |
commit | 0f8763fbea4e8816cd54c2a481d4c048fec58394 (patch) | |
tree | 71da03b33e595ffaa9b50223a98a970724446225 /libavcodec/aacdec_common.c | |
parent | 0ec886ddc79c491fe27ad64b31d50d436a72de70 (diff) | |
download | ffmpeg-0f8763fbea4e8816cd54c2a481d4c048fec58394.tar.gz |
avcodec/av1dec: Use ProgressFrames
AV1 can put a frame into multiple reference slots;
up until now, this involved creating a new reference
to the underlying AVFrame; therefore av1_frame_ref()
could fail.
This commit changes this by using the ProgressFrame API
to share the underlying AVFrames.
(Hint: vaapi_av1_surface_id() checked whether the AV1Frames
contained in the AV1DecContext were NULL or not (of course
they were not); this has been changed to actually check for
whether said AV1Frame is blank or not.)
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/aacdec_common.c')
0 files changed, 0 insertions, 0 deletions