diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-02 17:48:45 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-05 02:29:28 +0100 |
commit | 773947ba76c575abc01ba128206c87440dad40ec (patch) | |
tree | 9646d04486dcf7b62e90451b0e88dd76c2140ae4 /libavformat/cafdec.c | |
parent | 3e1a8e1ec1897086f063667480ec1a0eafd03392 (diff) | |
download | ffmpeg-773947ba76c575abc01ba128206c87440dad40ec.tar.gz |
lavf: deprecate get_strz() in favor of avio_get_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit e16ead0716c2f988d1e26369a4c67b354ff86134)
Diffstat (limited to 'libavformat/cafdec.c')
-rw-r--r-- | libavformat/cafdec.c | 4 |
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); } } |