summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-04 19:46:19 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-05 08:39:40 +0200
commitfa104e14abc1361762cb2451cc83072e4d2a5d52 (patch)
treeb76cf07c2a083556df5f0b2dd2d5fd44385a60e0 /libavformat/avio.h
parent5f2e6c0fd11f34ba7cd013a0b22d7bd0d60613b8 (diff)
avio: deprecate av_url_read_pause
It's not used anywhere internally. Salvage its documentation for ffio_read_pause.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 427aa8c938..6ca472cdec 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -114,6 +114,7 @@ attribute_deprecated int64_t url_filesize(URLContext *h);
attribute_deprecated int url_get_file_handle(URLContext *h);
attribute_deprecated int url_get_max_packet_size(URLContext *h);
attribute_deprecated void url_get_filename(URLContext *h, char *buf, int buf_size);
+attribute_deprecated int av_url_read_pause(URLContext *h, int pause);
#endif
/**
@@ -136,13 +137,6 @@ attribute_deprecated int url_poll(URLPollEntry *poll_table, int n, int timeout);
#endif
/**
- * Pause and resume playing - only meaningful if using a network streaming
- * protocol (e.g. MMS).
- * @param pause 1 for pause, 0 for resume
- */
-int av_url_read_pause(URLContext *h, int pause);
-
-/**
* Seek to a given timestamp relative to some component stream.
* Only meaningful if using a network streaming protocol (e.g. MMS.).
* @param stream_index The stream index that the timestamp is relative to.