aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorkjeyapal@akamai.com <kjeyapal@akamai.com>2018-10-18 14:56:20 +0530
committerKarthick J <kjeyapal@akamai.com>2018-10-21 16:26:32 +0530
commite715b8e10d0d9a63d337f75e2338843d92f5f475 (patch)
tree2281c296a41460eb618deba8d173876a244f83ad /libavformat
parentf848d384dd36b2058e325368b51e233ad2cc78b3 (diff)
downloadffmpeg-e715b8e10d0d9a63d337f75e2338843d92f5f475.tar.gz
avformat/dashenc: URL close unconditionally after DELETE segments
Fixes bug with HTTP DELETE when HTTP Persistent is ON. Right now, HTTP Persistent connections is supported only for POSTs and PUTs. HTTP DELETE will still open a new connection every time.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/dashenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 15b84a0f3b..b0a59af3ee 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -1253,7 +1253,7 @@ static void dashenc_delete_file(AVFormatContext *s, char *filename) {
}
av_dict_free(&http_opts);
- dashenc_io_close(s, &out, filename);
+ ff_format_io_close(s, &out);
} else if (unlink(filename) < 0) {
av_log(s, AV_LOG_ERROR, "failed to delete %s: %s\n", filename, strerror(errno));
}