diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-07-18 21:16:59 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-07-18 21:16:59 +0000 |
commit | 5bfe3b853a24aa1a29fdab89b5d2a7668b86d1f2 (patch) | |
tree | a30a66ff14f5a959b8e5754a1c97dcc037944a40 | |
parent | 197ea524433322064ebcbeee437c8695b01aab00 (diff) | |
download | ffmpeg-5bfe3b853a24aa1a29fdab89b5d2a7668b86d1f2.tar.gz |
minor simplification of qdm2_decode_fft_packets()
Originally committed as revision 14284 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/qdm2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index 5b9c60faee..87bcb47adc 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -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; |