diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2021-09-13 10:12:04 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2022-05-07 21:10:13 +0800 |
commit | f1c19867d72a14699277175101b2bcf1e333af88 (patch) | |
tree | 78a6d2cff2e98c73a2431fae6b25ad5c501dd993 /libavformat | |
parent | 30a49a5230d0285d7b1290b179e34ed073622b68 (diff) | |
download | ffmpeg-f1c19867d72a14699277175101b2bcf1e333af88.tar.gz |
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>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/hlsenc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 14eb7c4530..d2b8215dff 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -317,8 +317,7 @@ static int hlsenc_io_close(AVFormatContext *s, AVIOContext **pb, char *filename) URLContext *http_url_context = ffio_geturlcontext(*pb); av_assert0(http_url_context); avio_flush(*pb); - ffurl_shutdown(http_url_context, AVIO_FLAG_WRITE); - ret = ff_http_get_shutdown_status(http_url_context); + ret = ffurl_shutdown(http_url_context, AVIO_FLAG_WRITE); #endif } return ret; |