[FFmpeg-cvslog] avformat/avisynth: remove mutex lock from avisynth_read_close

Stephen Hutchinson git at videolan.org
Tue Aug 13 22:16:50 EEST 2024


ffmpeg | branch: master | Stephen Hutchinson <qyot27 at gmail.com> | Tue Jul 16 16:55:39 2024 -0400| [8f01ce28981b52e03bc7962e7398d36399cd5d22] | committer: Stephen Hutchinson

avformat/avisynth: remove mutex lock from avisynth_read_close

Signed-off-by: Stephen Hutchinson <qyot27 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f01ce28981b52e03bc7962e7398d36399cd5d22
---

 libavformat/avisynth.c | 4 ----
 1 file changed, 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;
 }
 



More information about the ffmpeg-cvslog mailing list