aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/cafdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-03-06 02:10:26 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-03-06 02:16:00 +0100
commit4118d66cb39f96a227c2f90d325a73045afe091e (patch)
tree9ed41facebf8cec3cce6b0d95cc1085dce5bdacb /libavformat/cafdec.c
parentb09e5068203bb9852734c04e37f852dd4d1d1137 (diff)
downloadffmpeg-4118d66cb39f96a227c2f90d325a73045afe091e.tar.gz
Revert "lavf: deprecate get_strz() in favor of avio_get_str"
This API is simply ridiculous. We of course keep API/ABI compatibility only useage of the worse API is reverted. This reverts commit 773947ba76c575abc01ba128206c87440dad40ec.
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 bc0a7760ea..96403d3b9e 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];
- avio_get_str(pb, INT_MAX, key, sizeof(key));
- avio_get_str(pb, INT_MAX, value, sizeof(value));
+ get_strz(pb, key, sizeof(key));
+ get_strz(pb, value, sizeof(value));
av_metadata_set2(&s->metadata, key, value, 0);
}
}