Re: [FFmpeg-devel] [PATCH v2 1/2] avformat/dashdec: check init_section before use it.

2021-01-26 Thread Steven Liu
> 2021年1月18日 下午2:22,liuqi05 写道: > > because there have no Initialization in SegmentTemplate, > so it will have no init_section for init segment file. > but in the is_common_init_section_exist function it will be used for > check to url, url_offset and size, so check init_section > before use in

[FFmpeg-devel] [PATCH v2 1/2] avformat/dashdec: check init_section before use it.

2021-01-17 Thread liuqi05
because there have no Initialization in SegmentTemplate, so it will have no init_section for init segment file. but in the is_common_init_section_exist function it will be used for check to url, url_offset and size, so check init_section before use init_section. And fix code style in is_common_init