Commit 96dbfcef authored by michael's avatar michael

minor simplification of qdm2_decode_fft_packets()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14284 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0624aba1
......@@ -1438,10 +1438,10 @@ static void qdm2_decode_fft_packets (QDM2Context *q)
/* process subpackets ordered by type, largest type first */
for (i = 0, max = 256; i < q->sub_packets_B; i++) {
QDM2SubPacket *packet;
QDM2SubPacket *packet= NULL;
/* find subpacket with largest type less than max */
for (j = 0, min = 0, packet = NULL; j < q->sub_packets_B; j++) {
for (j = 0, min = 0; j < q->sub_packets_B; j++) {
value = q->sub_packet_list_B[j].packet->type;
if (value > min && value < max) {
min = value;
......
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