forked from FFmpeg/FFmpeg
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue