[FFmpeg-devel] [PATCH] avformat/hlsenc: set default http method to PUT when method is null

Michael Niedermayer michael at niedermayer.cc
Wed Feb 15 22:19:54 EET 2017


On Wed, Feb 15, 2017 at 11:45:49PM +0800, Steven Liu wrote:
> 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
> 
> Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> ---
>  libavformat/hlsenc.c | 14 +++++++++++---
>  1 file changed, 11 insertions(+), 3 deletions(-)

this breaks fate-filter-hls-append

heres a backtrace, sorry for the missing line numbers i can rebuild
with debug stuff if you cannot reproduce

==19211== Process terminating with default action of signal 11 (SIGSEGV)
==19211==  Access not within mapped region at address 0x0
==19211==    at 0x4C2FC89: strspn (mc_replace_strmem.c:1491)
==19211==    by 0x62FAEC: url_find_protocol (in ffmpeg_g)
==19211==    by 0x630938: avio_find_protocol_name (in ffmpeg_g)
==19211==    by 0x664595: hls_window (in ffmpeg_g)
==19211==    by 0x666A20: hls_write_trailer (in ffmpeg_g)
==19211==    by 0x6C5BAC: av_write_trailer (in ffmpeg_g)
==19211==    by 0x4C3951: transcode (in ffmpeg_g)
==19211==    by 0x4A5257: main (in ffmpeg_g)


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170215/3a3625b8/attachment.sig>


More information about the ffmpeg-devel mailing list