mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
avformat/aadec: Don't use the same loop counter in inner and outer loop
Due to this bush.aa (from the FATE suite) exported garbage metadata with key "_040930". Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
e38eaf4749
commit
0a76f8217e
@ -132,8 +132,8 @@ static int aa_read_header(AVFormatContext *s)
|
||||
AV_WB32(&header_key[idx * 4], header_key_part[idx]); // convert each part to BE!
|
||||
}
|
||||
av_log(s, AV_LOG_DEBUG, "Processed HeaderKey is ");
|
||||
for (i = 0; i < 16; i++)
|
||||
av_log(s, AV_LOG_DEBUG, "%02x", header_key[i]);
|
||||
for (int j = 0; j < 16; j++)
|
||||
av_log(s, AV_LOG_DEBUG, "%02x", header_key[j]);
|
||||
av_log(s, AV_LOG_DEBUG, "\n");
|
||||
} else {
|
||||
av_dict_set(&s->metadata, key, val, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user