[FFmpeg-devel] [PATCH 5/5] avformat/mpeg: Don't use unintialized value

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Thu Apr 9 16:29:56 EEST 2020


Michael Niedermayer:
> On Tue, Oct 22, 2019 at 03:16:45PM +0200, Andreas Rheinhardt wrote:
>> vobsub_read_packet() didn't check whether an index in array of AVPackets
>> was valid and therefore used uninitialized values.
>>
>> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
>> ---
>> Actually I only wanted to use Valgrind to check for memleaks...
>>
>>  libavformat/mpeg.c | 4 ++++
>>  1 file changed, 4 insertions(+)
> 
> LGTM
> 
> thx
> 
Applied, thanks.

- Andreas


More information about the ffmpeg-devel mailing list