mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Fix for possible null pointer dereferencing, closes Coverity report 68 run 2.
Originally committed as revision 14305 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9f59e608d2
commit
f7dbf86d93
@ -1452,6 +1452,9 @@ static void qdm2_decode_fft_packets (QDM2Context *q)
|
||||
max = min;
|
||||
|
||||
/* check for errors (?) */
|
||||
if (!packet)
|
||||
return;
|
||||
|
||||
if (i == 0 && (packet->type < 16 || packet->type >= 48 || fft_subpackets[packet->type - 16]))
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user