[FFmpeg-devel] [PATCH] avformat/utils: Fix NPD when allocating AVStreamInternal fails

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri May 14 00:09:35 EEST 2021


Marton Balint:
> 
> 
> On Thu, 13 May 2021, Andreas Rheinhardt wrote:
> 
>> Regression since b9c5fdf6027010d15ee90a43aa023e45a5189097;
>> fixes Coverity ID #1484786.
>>
>> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
>> ---
>> Checking for st->internal->parser is btw unnecessary as
>> av_parser_close(NULL) is safe.
> 
> I think it is fine if you also remove the if() in this patch then.
> 

Applied with that change. Thanks for review.

- Andreas


More information about the ffmpeg-devel mailing list