cafdec: fix regression introduced in c7579ad8e84c5
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
14d94a1952
commit
f7a9b1deee
@ -198,8 +198,8 @@ static void read_info_chunk(AVFormatContext *s, int64_t size)
|
||||
for (i = 0; i < nb_entries; i++) {
|
||||
char key[32];
|
||||
char value[1024];
|
||||
avio_get_str(pb, sizeof(key), key, sizeof(key));
|
||||
avio_get_str(pb, sizeof(value), value, sizeof(value));
|
||||
avio_get_str(pb, INT_MAX, key, sizeof(key));
|
||||
avio_get_str(pb, INT_MAX, value, sizeof(value));
|
||||
av_dict_set(&s->metadata, key, value, 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user