mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
minor simplification of qdm2_decode_fft_packets()
Originally committed as revision 14284 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
197ea52443
commit
5bfe3b853a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user