Files
FFmpeg/libavformat
Brendan McGrath 2472dbc7a7 avformat/hlsenc: Check that data is set
If codecpar->extradata is not set (for example, when the stream goes
through the 'tee' muxer), then a segfault occurs.
This patch ensures the data variable is not null before attempting
to access it
Before the var_stream_map option was available - I was using the tee
muxer to create each resolution as an individual stream.
When running this configuration after the most recent hlsenc change
I hit a segfault
The most simple command which recreates the segfault is:
ffmpeg -i in.ts -map 0:a -map 0:v -c:a aac -c:v h264 -f tee [select=\'a,v\':f=hls]tv_hls_hd.m3u8

Signed-off-by: Brendan McGrath <redmcg@redmandi.dyndns.org>
2018-01-21 13:16:42 +08:00
..
2016-07-03 04:37:48 +02:00
2017-03-29 14:49:29 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-02-01 02:57:40 +01:00
2017-10-19 22:07:21 +02:00
2017-09-20 03:31:48 +02:00
2017-10-19 22:07:21 +02:00
2017-09-01 18:52:56 +08:00
2016-10-21 19:41:09 +02:00
2017-10-05 17:10:23 +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
2016-05-04 18:16:21 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-12-13 15:10:07 +00:00
2017-04-20 15:39:18 +00:00
2017-09-23 19:37:21 -03:00
2016-05-21 18:49:45 +02:00
2017-11-05 10:42:07 +01:00
2017-12-08 16:01:09 +01:00
2017-03-30 13:26:04 +02:00
2016-11-07 00:51:49 +01:00
2017-10-05 17:10:23 +02:00
2017-06-13 19:49:06 +02:00
2016-07-17 13:10:27 -03:00
2017-09-01 02:16:33 -03:00
2017-04-25 15:39:10 +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
2017-09-21 16:17:02 -08:00
2017-09-09 12:07:14 +02:00
2016-05-03 15:45:10 +02:00
2017-12-31 16:14:23 +01:00
2017-11-24 15:05:35 -03:00
2017-09-22 01:33:22 +02:00
2017-07-16 16:09:17 +01:00
2016-11-07 00:51:49 +01:00