diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-14 22:39:04 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-17 05:59:39 +0300 |
commit | 83fddaeb81f782e06281730a809ae2bf4c86a229 (patch) | |
tree | 203b3ab91985c071a1bbac1accfeddaf6d7251df /libavformat/avio.h | |
parent | eda4cf92d795ae7e233e83f5ad37209d475b7805 (diff) |
avio: deprecate url_open_buf
It's only used in one place and does the same thing as
avio_alloc_context.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 5388c39c1e..74f4d55d0a 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -629,9 +629,9 @@ URLContext *url_fileno(AVIOContext *s); * @deprecated use AVIOContext.max_packet_size directly. */ attribute_deprecated int url_fget_max_packet_size(AVIOContext *s); -#endif -int url_open_buf(AVIOContext **s, uint8_t *buf, int buf_size, int flags); +attribute_deprecated int url_open_buf(AVIOContext **s, uint8_t *buf, int buf_size, int flags); +#endif /** return the written or read size */ int url_close_buf(AVIOContext *s); |