aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/cast5.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-02 12:08:10 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-04 08:02:56 +0200
commitbd95f2f599a6605dafa73b95ca7590aa6a5e941d (patch)
tree56e685eec37f6b4ffc4726ad6fde5ea0a22e9517 /libavutil/cast5.c
parent0172deccc4e229e0b22f3e776f71e6e4b5a08e35 (diff)
downloadffmpeg-bd95f2f599a6605dafa73b95ca7590aa6a5e941d.tar.gz
avcodec/vp9: Do not destroy uninitialized mutexes/conditions
Also do not destroy and reinitialize mutexes and conditions when certain input parameters change. Given that the decoder did not create these variables at all during init, uninitialized mutexes and conditions are destroyed before the very first initialization. This is undefined behaviour and certain threading implementations like pthreadGC2 crash when it is attempted. Fix this by initializing these objects once during init and freeing them in close. Reported-by: Steve Lhomme <robux4@ycbcr.xyz> Reviewed-by: Steve Lhomme <robux4@ycbcr.xyz> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/cast5.c')
0 files changed, 0 insertions, 0 deletions