Commit 683910d7 authored by banan's avatar banan

Fix for possible null pointer dereferencing, closes Coverity report 68 run 2.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14305 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a471beae
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment