[FFmpeg-cvslog] r14284 - trunk/libavcodec/qdm2.c
michael
subversion
Fri Jul 18 23:17:00 CEST 2008
Author: michael
Date: Fri Jul 18 23:16:59 2008
New Revision: 14284
Log:
minor simplification of qdm2_decode_fft_packets()
Modified:
trunk/libavcodec/qdm2.c
Modified: trunk/libavcodec/qdm2.c
==============================================================================
--- trunk/libavcodec/qdm2.c (original)
+++ trunk/libavcodec/qdm2.c Fri Jul 18 23:16:59 2008
@@ -1438,10 +1438,10 @@ static void qdm2_decode_fft_packets (QDM
/* 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;
More information about the ffmpeg-cvslog
mailing list