Re: [FFmpeg-devel] [PATCH] libavformat/hls: check new_init_section for null

2020-10-13 Thread Steven Liu
Chris Miceli 于2020年10月13日周二 下午1:59写道: > > new_init_section will return NULL under circumstances where the init > failed and this code needed to check for that. ret and goto fail are how > this is handled throughout the code. > --- > libavformat/hls.c | 4 > 1 file changed, 4 insertions(+) >

[FFmpeg-devel] [PATCH] libavformat/hls: check new_init_section for null

2020-10-12 Thread Chris Miceli
new_init_section will return NULL under circumstances where the init failed and this code needed to check for that. ret and goto fail are how this is handled throughout the code. --- libavformat/hls.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/hls.c b/libavformat/hls.c ind