cafdec: replace deprecated get_strz()

This commit is contained in:
Paul B Mahol 2012-01-23 17:18:44 +01:00 committed by Carl Eugen Hoyos
parent a6ef7b3a77
commit c7579ad8e8
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}