diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-02 17:48:45 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-04 11:26:02 -0500 |
commit | e16ead0716c2f988d1e26369a4c67b354ff86134 (patch) | |
tree | b765d4e41ffe6e1aef32e0016c3349380e9f98c8 /libavformat/avio.h | |
parent | 41d8555f72e3bc60cf93af2a1a4786b452fd2736 (diff) | |
download | ffmpeg-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/avio.h')
-rw-r--r-- | libavformat/avio.h | 7 |
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); |