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

2019-08-18 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. --- libavcodec/h264_parse.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff -

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

2019-08-19 Thread James Almer
On 8/18/2019 10:41 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. > --- > libavcodec/h264_parse.c | 10 -- > 1 fi

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

2019-08-19 Thread Jun Li
On Mon, Aug 19, 2019 at 3:45 PM James Almer wrote: > On 8/18/2019 10:41 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

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

2019-08-19 Thread James Almer
On 8/19/2019 10:39 PM, Jun Li wrote: > On Mon, Aug 19, 2019 at 3:45 PM James Almer wrote: > >> On 8/18/2019 10:41 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

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

2019-08-19 Thread Jun Li
On Mon, Aug 19, 2019 at 6:55 PM James Almer wrote: > On 8/19/2019 10:39 PM, Jun Li wrote: > > On Mon, Aug 19, 2019 at 3:45 PM James Almer wrote: > > > >> On 8/18/2019 10:41 PM, Jun Li wrote: > >>> Fix #6591 > >>> The content has no rbsp_stop_one_bit for ending the SPS, that > >>> causes the deco