Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: Check that data is set

2018-01-20 Thread Steven Liu
2018-01-20 23:56 GMT+08:00 Steven Liu : > > >> 在 2018年1月20日,上午10:35,Jeyapal, Karthick 写道: >> >> >> >>> On 1/20/18 6:29 AM, Brendan McGrath wrote: >>> If codecpar->extradata is not set (for example, when the stream goes >>> through the 'tee' muxer), then

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: Check that data is set

2018-01-20 Thread Steven Liu
> 在 2018年1月20日,上午10:35,Jeyapal, Karthick 写道: > > > >> On 1/20/18 6:29 AM, Brendan McGrath wrote: >> 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

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: Check that data is set

2018-01-19 Thread Jeyapal, Karthick
On 1/20/18 6:29 AM, Brendan McGrath wrote: > 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 > > Signed-off-by: Brendan McGrath

[FFmpeg-devel] [PATCH] avformat/hlsenc: Check that data is set

2018-01-19 Thread Brendan McGrath
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 Signed-off-by: Brendan McGrath --- Before the var_stream_map option