diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-14 20:39:05 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-16 22:59:39 -0400 |
commit | 35f1023592b46e608a4de1566b12268e3e9e72f0 (patch) | |
tree | 74341001b36546a52b7ff9b098e6d385b0d0e0f2 /libavformat/avio.h | |
parent | 83fddaeb81f782e06281730a809ae2bf4c86a229 (diff) | |
download | ffmpeg-35f1023592b46e608a4de1566b12268e3e9e72f0.tar.gz |
avio: deprecate url_close_buf
It's not used anywhere and its return value looks broken.
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 74f4d55d0a..01ec9daf69 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -631,10 +631,10 @@ URLContext *url_fileno(AVIOContext *s); attribute_deprecated int url_fget_max_packet_size(AVIOContext *s); 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); +attribute_deprecated int url_close_buf(AVIOContext *s); +#endif /** * Open a write only memory stream. |