diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-06 18:04:46 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-08 02:09:16 +0100 |
commit | de3ef79250f39f04fb194e808933509dc4a7f397 (patch) | |
tree | 2f9dea7a0a6a38ff24c3de08436598df73d925b3 /libavformat/aviobuf.c | |
parent | e4a2695856dad2333376739a2dca23da82dc2aa6 (diff) | |
download | ffmpeg-de3ef79250f39f04fb194e808933509dc4a7f397.tar.gz |
avio: deprecate url_fgets
It's not used anywhere and doesn't look ver useful to be public.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 655e45e7dfafc494044cc52f8889fc6da75eff6a)
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index e273aa536a..290572435e 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -915,6 +915,7 @@ int url_fprintf(AVIOContext *s, const char *fmt, ...) } #endif //CONFIG_MUXERS +#if FF_API_OLD_AVIO char *url_fgets(AVIOContext *s, char *buf, int buf_size) { int c; @@ -935,6 +936,7 @@ char *url_fgets(AVIOContext *s, char *buf, int buf_size) *q = '\0'; return buf; } +#endif int url_fget_max_packet_size(AVIOContext *s) { |