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:
parent
c0fddbae79
commit
8f01ce2898
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user