summaryrefslogtreecommitdiff
path: root/libavformat/cafdec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-01-23 17:18:44 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-01-23 17:18:44 +0100
commitc7579ad8e84c5aa28a0540604e8983cbde7ac37b (patch)
treefaf13af32849cfb07f13f36231731196e3f689d0 /libavformat/cafdec.c
parenta6ef7b3a773ea79e725f9fe60b718f6db3bc83a6 (diff)
downloadffmpeg-c7579ad8e84c5aa28a0540604e8983cbde7ac37b.tar.gz
cafdec: replace deprecated get_strz()
Diffstat (limited to 'libavformat/cafdec.c')
-rw-r--r--libavformat/cafdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c
index 3294f0639e..7933cd12aa 100644
--- a/libavformat/cafdec.c
+++ b/libavformat/cafdec.c
@@ -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);
}
}