aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avisynth.c
diff options
context:
space:
mode:
authorStephen Hutchinson <qyot27@gmail.com>2024-07-16 16:55:39 -0400
committerStephen Hutchinson <qyot27@gmail.com>2024-08-13 15:09:53 -0400
commit8f01ce28981b52e03bc7962e7398d36399cd5d22 (patch)
tree8ac72b747ef7c849b251a7af16c2fcb89ca496d4 /libavformat/avisynth.c
parentc0fddbae79172577112077426bdb77fc3380f186 (diff)
downloadffmpeg-8f01ce28981b52e03bc7962e7398d36399cd5d22.tar.gz
avformat/avisynth: remove mutex lock from avisynth_read_close
Signed-off-by: Stephen Hutchinson <qyot27@gmail.com>
Diffstat (limited to 'libavformat/avisynth.c')
-rw-r--r--libavformat/avisynth.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
index 26747671c0..b01263e010 100644
--- a/libavformat/avisynth.c
+++ b/libavformat/avisynth.c
@@ -1085,12 +1085,8 @@ static int avisynth_read_packet(AVFormatContext *s, AVPacket *pkt)
static av_cold int avisynth_read_close(AVFormatContext *s)
{
- if (ff_mutex_lock(&avisynth_mutex))
- return AVERROR_UNKNOWN;
-
avisynth_context_destroy(s->priv_data);
dlclose(avs_library.library);
- ff_mutex_unlock(&avisynth_mutex);
return 0;
}