OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df8f0c
)
rtsp: free opts dictionary on failure of getnameinfo
author
Ganesh Ajjanagadde
<gajjanagadde@gmail.com>
Fri, 4 Dec 2015 06:11:10 +0000
(
01:11
-0500)
committer
Martin Storsjö
<martin@martin.st>
Mon, 7 Dec 2015 09:11:31 +0000
(11:11 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtsp.c
patch
|
blob
|
history
diff --git
a/libavformat/rtsp.c
b/libavformat/rtsp.c
index
2c616e8
..
4beb275
100644
(file)
--- a/
libavformat/rtsp.c
+++ b/
libavformat/rtsp.c
@@
-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,