[FFmpeg-cvslog] avformat/libsrt: Remove manually free AV_OPT_TYPE_STRING

Zhao Zhili git at videolan.org
Thu Feb 22 14:59:58 EET 2024


ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Thu Feb 15 10:15:08 2024 +0800| [4ea2b271eb58c05709e5fe53bf5642b33b7be6f4] | committer: Zhao Zhili

avformat/libsrt: Remove manually free AV_OPT_TYPE_STRING

Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>

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

 libavformat/libsrt.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c
index 56acb6e741..a1d732f841 100644
--- a/libavformat/libsrt.c
+++ b/libavformat/libsrt.c
@@ -674,9 +674,6 @@ static int libsrt_open(URLContext *h, const char *uri, int flags)
     return 0;
 
 err:
-    av_freep(&s->smoother);
-    av_freep(&s->streamid);
-    av_freep(&s->passphrase);
     srt_cleanup();
     return ret;
 }



More information about the ffmpeg-cvslog mailing list