diff options
author | Stephen Hutchinson <qyot27@gmail.com> | 2024-07-16 16:55:39 -0400 |
---|---|---|
committer | Stephen Hutchinson <qyot27@gmail.com> | 2024-08-13 15:09:53 -0400 |
commit | 8f01ce28981b52e03bc7962e7398d36399cd5d22 (patch) | |
tree | 8ac72b747ef7c849b251a7af16c2fcb89ca496d4 /libavformat/avisynth.c | |
parent | c0fddbae79172577112077426bdb77fc3380f186 (diff) | |
download | ffmpeg-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.c | 4 |
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; } |