X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frtmphttp.c;h=c920c19ab5b971dfdf93012b1632d54b706da706;hb=339af976b6fd9c05d1e75e75a5323efdb3d6afa1;hp=ef6146ca8640eaa13ca9c374f9553702e13b10d3;hpb=493240a522fca34882601fbeeda4e17aa40a0303;p=ffmpeg diff --git a/libavformat/rtmphttp.c b/libavformat/rtmphttp.c index ef6146ca864..c920c19ab5b 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; }