diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-02 12:08:10 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-04 08:02:56 +0200 |
commit | bd95f2f599a6605dafa73b95ca7590aa6a5e941d (patch) | |
tree | 56e685eec37f6b4ffc4726ad6fde5ea0a22e9517 /tests/fate/filter-audio.mak | |
parent | 0172deccc4e229e0b22f3e776f71e6e4b5a08e35 (diff) | |
download | ffmpeg-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 'tests/fate/filter-audio.mak')
0 files changed, 0 insertions, 0 deletions