mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
rtsp: free opts dictionary on failure of getnameinfo
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
8df8f0c70c
commit
d5f5c90be9
@ -2279,6 +2279,7 @@ static int sdp_read_header(AVFormatContext *s)
|
||||
if (err) {
|
||||
av_log(s, AV_LOG_ERROR, "getnameinfo: %s\n", gai_strerror(err));
|
||||
err = AVERROR(EIO);
|
||||
av_dict_free(&opts);
|
||||
goto fail;
|
||||
}
|
||||
ff_url_join(url, sizeof(url), "rtp", NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user