aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2024-02-15 10:15:08 +0800
committerZhao Zhili <zhilizhao@tencent.com>2024-02-22 19:13:36 +0800
commit4ea2b271eb58c05709e5fe53bf5642b33b7be6f4 (patch)
tree8f805d463dfc9d0968af9c80f7fce1dda4955769
parent80cd6e655bc901ff21f7c9294707ce224f91e90a (diff)
downloadffmpeg-4ea2b271eb58c05709e5fe53bf5642b33b7be6f4.tar.gz
avformat/libsrt: Remove manually free AV_OPT_TYPE_STRING
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
-rw-r--r--libavformat/libsrt.c3
1 files changed, 0 insertions, 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;
}