summaryrefslogtreecommitdiff
path: root/libavformat/rtmphttp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtmphttp.c')
-rw-r--r--libavformat/rtmphttp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmphttp.c b/libavformat/rtmphttp.c
index ef6146ca86..c920c19ab5 100644
--- a/libavformat/rtmphttp.c
+++ b/libavformat/rtmphttp.c
@@ -176,7 +176,7 @@ static int rtmp_http_close(URLContext *h)
}
av_freep(&rt->out_data);
- ffurl_close(rt->stream);
+ ffurl_closep(&rt->stream);
return ret;
}