Originally committed as revision 14305 to svn://svn.ffmpeg.org/ffmpeg/trunk
Benjamin Larsson authored on 2008/07/20 00:48:53... | ... |
@@ -1452,6 +1452,9 @@ static void qdm2_decode_fft_packets (QDM2Context *q) |
1452 | 1452 |
max = min; |
1453 | 1453 |
|
1454 | 1454 |
/* check for errors (?) */ |
1455 |
+ if (!packet) |
|
1456 |
+ return; |
|
1457 |
+ |
|
1455 | 1458 |
if (i == 0 && (packet->type < 16 || packet->type >= 48 || fft_subpackets[packet->type - 16])) |
1456 | 1459 |
return; |
1457 | 1460 |
|