1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avformat/avisynth: remove mutex lock from avisynth_read_close

Signed-off-by: Stephen Hutchinson <qyot27@gmail.com>
This commit is contained in:
Stephen Hutchinson 2024-07-16 16:55:39 -04:00
parent c0fddbae79
commit 8f01ce2898

View File

@ -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;
}