Commit c7579ad8 authored by Paul B Mahol's avatar Paul B Mahol Committed by Carl Eugen Hoyos

cafdec: replace deprecated get_strz()

parent a6ef7b3a
......@@ -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];
get_strz(pb, key, sizeof(key));
get_strz(pb, value, sizeof(value));
avio_get_str(pb, sizeof(key), key, sizeof(key));
avio_get_str(pb, sizeof(value), value, sizeof(value));
av_dict_set(&s->metadata, key, value, 0);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment