Re: [FFmpeg-devel] [PATCH v2] avformat/imfdec: check track valid before use it

2022-09-08 Thread Pierre-Anthony Lemieux
See [1] for a patchset that is intended to address the coverity issue and simplify error handling. [1] https://patchwork.ffmpeg.org/project/ffmpeg/patch/20220907200233.21255-1-...@sandflow.com/ On Sat, Aug 27, 2022 at 10:25 AM Pierre-Anthony Lemieux wrote: > > On Sat, Aug 27, 2022 at 5:25 AM St

Re: [FFmpeg-devel] [PATCH v2] avformat/imfdec: check track valid before use it

2022-08-27 Thread Pierre-Anthony Lemieux
On Sat, Aug 27, 2022 at 5:25 AM Steven Liu wrote: > > Pierre-Anthony Lemieux 于2022年8月27日周六 00:06写道: > > > > On Fri, Aug 26, 2022 at 9:01 AM Andreas Rheinhardt > > wrote: > > > > > > Pierre-Anthony Lemieux: > > > > On Fri, Aug 26, 2022 at 1:37 AM Andreas Rheinhardt > > > > wrote: > > > >> > > >

Re: [FFmpeg-devel] [PATCH v2] avformat/imfdec: check track valid before use it

2022-08-27 Thread Steven Liu
Pierre-Anthony Lemieux 于2022年8月27日周六 00:06写道: > > On Fri, Aug 26, 2022 at 9:01 AM Andreas Rheinhardt > wrote: > > > > Pierre-Anthony Lemieux: > > > On Fri, Aug 26, 2022 at 1:37 AM Andreas Rheinhardt > > > wrote: > > >> > > >> Steven Liu: > > >>> fix CID: 1512414 > > >>> And return AVERROR_INVALI

Re: [FFmpeg-devel] [PATCH v2] avformat/imfdec: check track valid before use it

2022-08-26 Thread Pierre-Anthony Lemieux
On Fri, Aug 26, 2022 at 9:01 AM Andreas Rheinhardt wrote: > > Pierre-Anthony Lemieux: > > On Fri, Aug 26, 2022 at 1:37 AM Andreas Rheinhardt > > wrote: > >> > >> Steven Liu: > >>> fix CID: 1512414 > >>> And return AVERROR_INVALIDDATA when get_next_track_with_minimum_timestamp > >>> incorrect in i

Re: [FFmpeg-devel] [PATCH v2] avformat/imfdec: check track valid before use it

2022-08-26 Thread Andreas Rheinhardt
Pierre-Anthony Lemieux: > On Fri, Aug 26, 2022 at 1:37 AM Andreas Rheinhardt > wrote: >> >> Steven Liu: >>> fix CID: 1512414 >>> And return AVERROR_INVALIDDATA when get_next_track_with_minimum_timestamp >>> incorrect in imf_read_packet; >>> >>> Signed-off-by: Steven Liu >>> --- >>> libavformat/i

Re: [FFmpeg-devel] [PATCH v2] avformat/imfdec: check track valid before use it

2022-08-26 Thread Pierre-Anthony Lemieux
On Fri, Aug 26, 2022 at 1:37 AM Andreas Rheinhardt wrote: > > Steven Liu: > > fix CID: 1512414 > > And return AVERROR_INVALIDDATA when get_next_track_with_minimum_timestamp > > incorrect in imf_read_packet; > > > > Signed-off-by: Steven Liu > > --- > > libavformat/imfdec.c | 7 +-- > > 1 fil

Re: [FFmpeg-devel] [PATCH v2] avformat/imfdec: check track valid before use it

2022-08-26 Thread Andreas Rheinhardt
Steven Liu: > fix CID: 1512414 > And return AVERROR_INVALIDDATA when get_next_track_with_minimum_timestamp > incorrect in imf_read_packet; > > Signed-off-by: Steven Liu > --- > libavformat/imfdec.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavformat/imfde

[FFmpeg-devel] [PATCH v2] avformat/imfdec: check track valid before use it

2022-08-25 Thread Steven Liu
fix CID: 1512414 And return AVERROR_INVALIDDATA when get_next_track_with_minimum_timestamp incorrect in imf_read_packet; Signed-off-by: Steven Liu --- libavformat/imfdec.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c index