avformat/libsrt: Remove manually free AV_OPT_TYPE_STRING
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
80cd6e655b
commit
4ea2b271eb
@ -674,9 +674,6 @@ static int libsrt_open(URLContext *h, const char *uri, int flags)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
err:
|
err:
|
||||||
av_freep(&s->smoother);
|
|
||||||
av_freep(&s->streamid);
|
|
||||||
av_freep(&s->passphrase);
|
|
||||||
srt_cleanup();
|
srt_cleanup();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user