1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavformat
Aman Gupta 73bf0f42e3 avformat/hlsenc: fix segfault when using -hls_segment_type fmp4 with -hls_segment_filename
previously, specifying -hls_segment_filename meant
s->base_output_dirname was never set, causing a segfault:

(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x00007fffbf7d82d0 libsystem_platform.dylib`_platform_strcmp + 80
frame #1: 0x00000001005f4dcf libavformat.57.dylib`io_open_default(s=0x000000010481cc00, pb=0x0000000104806020, url=0x0000000000000000, flags=2, options=0x0000000000000000) at options.c:107
frame #2: 0x0000000100528968 libavformat.57.dylib`hls_mux_init(s=0x000000010481cc00) at hlsenc.c:595
frame #3: 0x00000001005273cb libavformat.57.dylib`hls_write_header(s=0x000000010481cc00) at hlsenc.c:1518
frame #4: 0x00000001005c08d0 libavformat.57.dylib`write_header_internal(s=0x000000010481cc00) at mux.c:486
frame #5: 0x00000001005c0774 libavformat.57.dylib`avformat_write_header(s=0x000000010481cc00, options=0x00000001029026e8) at mux.c:539
2017-09-16 10:32:28 +08:00
..
2017-09-01 02:16:33 -03:00
2016-07-03 04:37:48 +02:00
2017-09-09 12:07:14 +02:00
2017-03-31 18:19:41 +02:00
2017-03-29 14:49:29 +02:00
2017-09-01 02:16:33 -03:00
2017-09-01 17:56:33 +02:00
2017-02-01 02:57:40 +01:00
2017-01-19 02:40:43 +01:00
2017-09-01 18:52:56 +08:00
2016-10-21 19:41:09 +02:00
2017-08-29 01:33:47 +02:00
2017-08-30 12:13:01 +02:00
2017-02-11 20:20:07 +01:00
2017-09-07 15:19:22 +02:00
2017-09-01 02:16:33 -03:00
2017-09-15 15:10:49 +02:00
2016-05-04 18:16:21 +02:00
2017-08-30 12:13:02 +02:00
2017-07-10 12:03:08 +02:00
2017-09-09 12:07:14 +02:00
2017-09-07 15:19:22 +02:00
2016-05-21 18:49:45 +02:00
2017-03-30 13:26:04 +02:00
2016-11-07 00:51:49 +01:00
2016-10-09 20:09:00 +02:00
2017-06-13 19:49:06 +02:00
2016-07-17 13:10:27 -03:00
2017-09-01 17:56:33 +02:00
2017-09-01 02:16:33 -03:00
2017-03-02 11:39:54 +01:00
2017-07-07 15:30:57 -04:00
2017-09-01 17:56:33 +02:00
2017-07-10 15:02:29 -04:00
2016-11-23 01:16:42 +01:00
2017-01-30 11:00:58 +01:00
2016-07-17 13:10:27 -03:00
2017-09-01 02:16:33 -03:00
2017-09-09 12:07:14 +02:00
2016-05-03 15:45:10 +02:00
2017-09-01 02:16:33 -03:00
2016-08-04 16:25:40 -03:00
2017-09-09 12:07:14 +02:00
2017-05-10 15:21:17 +02:00
2017-07-16 16:09:17 +01:00
2017-09-01 02:16:33 -03:00
2016-11-07 00:51:49 +01:00