aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/atrac3data.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-02 21:51:35 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-04-19 13:18:04 +0200
commitac8288e2882a2cb5395dcee7ee19e56ad1a678e4 (patch)
treec944357a2d137035d1a08cf74b9dc6257f3da5df /libavcodec/atrac3data.h
parent2f29147b7f4564eb519551e064baee1a49ea05c2 (diff)
downloadffmpeg-ac8288e2882a2cb5395dcee7ee19e56ad1a678e4.tar.gz
avcodec/ffv1dec: Switch to ProgressFrames
Avoids implicit av_frame_ref() and therefore allocations and error checks. It also avoids explicitly allocating the AVFrames (done implicitly when getting the buffer). It also fixes a data race: The AVFrame's sample_aspect_ratio is currently updated after ff_thread_finish_setup() and this write is unsynchronized with the read in av_frame_ref(). Removing the implicit av_frame_ref() fixed this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/atrac3data.h')
0 files changed, 0 insertions, 0 deletions