avformat/hlsenc: set default http method to PUT when method is null
authorSteven Liu <lq@chinaffmpeg.org>
Sat, 18 Feb 2017 01:42:51 +0000 (09:42 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Sat, 18 Feb 2017 01:42:51 +0000 (09:42 +0800)
commit965f35b111a0b8871f361b2de09dac339d87e7fb
tree3d45561038ed76267af015c1d8777cacfeb9be7c
parentb71f62a9c84940575b71613d61c45f163c69338b
avformat/hlsenc: set default http method to PUT when method is null

When the http method is not set, the method will use POST for ts,
PUT for m3u8, it is not unify, now set it unify.
This ticket id: #5315

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/hlsenc.c