You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/hlsenc: remove unnecessary http/https shutdown status operate
Fix ticket: 9010 there have been get http/https shutdown status in ffurl_shutdown. so unnecessary http/https shutdown status operate. Tested-by: RytoEX Tested-by: ushadow Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
@@ -317,8 +317,7 @@ static int hlsenc_io_close(AVFormatContext *s, AVIOContext **pb, char *filename)
|
|||||||
URLContext *http_url_context = ffio_geturlcontext(*pb);
|
URLContext *http_url_context = ffio_geturlcontext(*pb);
|
||||||
av_assert0(http_url_context);
|
av_assert0(http_url_context);
|
||||||
avio_flush(*pb);
|
avio_flush(*pb);
|
||||||
ffurl_shutdown(http_url_context, AVIO_FLAG_WRITE);
|
ret = ffurl_shutdown(http_url_context, AVIO_FLAG_WRITE);
|
||||||
ret = ff_http_get_shutdown_status(http_url_context);
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user