aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-02 17:48:45 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-03-05 02:29:28 +0100
commit773947ba76c575abc01ba128206c87440dad40ec (patch)
tree9646d04486dcf7b62e90451b0e88dd76c2140ae4 /libavformat/avio.h
parent3e1a8e1ec1897086f063667480ec1a0eafd03392 (diff)
downloadffmpeg-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/avio.h')
-rw-r--r--libavformat/avio.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index fd4839c789..fba98e318f 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -548,7 +548,12 @@ int avio_get_str(AVIOContext *pb, int maxlen, char *buf, int buflen);
int avio_get_str16le(AVIOContext *pb, int maxlen, char *buf, int buflen);
int avio_get_str16be(AVIOContext *pb, int maxlen, char *buf, int buflen);
-char *get_strz(AVIOContext *s, char *buf, int maxlen);
+#if FF_API_OLD_AVIO
+/**
+ * @deprecated use avio_get_str instead
+ */
+attribute_deprecated char *get_strz(AVIOContext *s, char *buf, int maxlen);
+#endif
unsigned int avio_rb16(AVIOContext *s);
unsigned int avio_rb24(AVIOContext *s);
unsigned int avio_rb32(AVIOContext *s);