aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/nvdec_vp8.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-06-29 23:39:16 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-01 15:35:11 +0200
commit804bf898dad32813c6bc05ae19d0dcfd45cd8d8a (patch)
treea31d804f999d9bd6b3bf3ec381342a9346d6c411 /libavcodec/nvdec_vp8.c
parent26e7d7b14e7a3912aa0ce59ebab191a9c2d9edfa (diff)
downloadffmpeg-804bf898dad32813c6bc05ae19d0dcfd45cd8d8a.tar.gz
avcodec/pthread_slice: Don't reinitialise initialised mutex
It results in undefined behaviour. Instead initialize the mutexes and condition variables once during init (and check these initializations). Also combine the corresponding mutex and condition variable into one structure so that one can allocate their array jointly. Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/nvdec_vp8.c')
0 files changed, 0 insertions, 0 deletions