aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/cafdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-02 17:48:45 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-04 11:26:02 -0500
commite16ead0716c2f988d1e26369a4c67b354ff86134 (patch)
treeb765d4e41ffe6e1aef32e0016c3349380e9f98c8 /libavformat/cafdec.c
parent41d8555f72e3bc60cf93af2a1a4786b452fd2736 (diff)
downloadffmpeg-e16ead0716c2f988d1e26369a4c67b354ff86134.tar.gz
lavf: deprecate get_strz() in favor of avio_get_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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 d98c4bf095..a43c34496b 100644
--- a/libavformat/cafdec.c
+++ b/libavformat/cafdec.c
@@ -185,8 +185,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, INT_MAX, key, sizeof(key));
+ avio_get_str(pb, INT_MAX, value, sizeof(value));
av_metadata_set2(&s->metadata, key, value, 0);
}
}