X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frtmphttp.c;h=c920c19ab5b971dfdf93012b1632d54b706da706;hb=d16974c3dd3a05900aa080ea0729284aea358d10;hp=ef6146ca8640eaa13ca9c374f9553702e13b10d3;hpb=fda424b300c1a0b991296aa585691609d01196bd;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; }