Re: [FFmpeg-devel] [PATCH v2] avcodec/h264_parse: retry decoding SPS with complete NAL

2019-08-22 Thread Jun Li
On Thu, Aug 22, 2019 at 12:00 PM James Almer wrote: > On 8/19/2019 11:24 PM, Jun Li wrote: > > Fix #6591 > > The content has no rbsp_stop_one_bit for ending the SPS, that > > causes the decoding SPS failure, results decoding frame failure as well. > > > > The patch is just adding a retry with

Re: [FFmpeg-devel] [PATCH v2] avcodec/h264_parse: retry decoding SPS with complete NAL

2019-08-22 Thread James Almer
On 8/19/2019 11:24 PM, Jun Li wrote: > Fix #6591 > The content has no rbsp_stop_one_bit for ending the SPS, that > causes the decoding SPS failure, results decoding frame failure as well. > > The patch is just adding a retry with complete NALU, copied from the retry in > decode_nal_unit() > ---

Re: [FFmpeg-devel] [PATCH v2] avcodec/h264_parse: retry decoding SPS with complete NAL

2019-08-22 Thread Jun Li
On Tue, Aug 20, 2019 at 5:52 PM Jun Li wrote: > > > On Mon, Aug 19, 2019 at 7:24 PM Jun Li wrote: > >> Fix #6591 >> The content has no rbsp_stop_one_bit for ending the SPS, that >> causes the decoding SPS failure, results decoding frame failure as well. >> >> The patch is just adding a retry

Re: [FFmpeg-devel] [PATCH v2] avcodec/h264_parse: retry decoding SPS with complete NAL

2019-08-20 Thread Jun Li
On Mon, Aug 19, 2019 at 7:24 PM Jun Li wrote: > Fix #6591 > The content has no rbsp_stop_one_bit for ending the SPS, that > causes the decoding SPS failure, results decoding frame failure as well. > > The patch is just adding a retry with complete NALU, copied from the retry > in

[FFmpeg-devel] [PATCH v2] avcodec/h264_parse: retry decoding SPS with complete NAL

2019-08-19 Thread Jun Li
Fix #6591 The content has no rbsp_stop_one_bit for ending the SPS, that causes the decoding SPS failure, results decoding frame failure as well. The patch is just adding a retry with complete NALU, copied from the retry in decode_nal_unit() --- libavcodec/h264_parse.c | 11 +-- 1 file