Commit e2307053 authored by Anton Khirnov's avatar Anton Khirnov

avio: deprecate url_poll and URLPollEntry

They're unimplemented and nobody cared to do anything with that for
10 years.
parent e05a3ac7
...@@ -57,11 +57,13 @@ typedef struct URLContext { ...@@ -57,11 +57,13 @@ typedef struct URLContext {
int is_connected; int is_connected;
} URLContext; } URLContext;
#if FF_API_OLD_AVIO
typedef struct URLPollEntry { typedef struct URLPollEntry {
URLContext *handle; URLContext *handle;
int events; int events;
int revents; int revents;
} URLPollEntry; } URLPollEntry;
#endif
/** /**
* @defgroup open_modes URL open modes * @defgroup open_modes URL open modes
...@@ -243,8 +245,10 @@ void url_get_filename(URLContext *h, char *buf, int buf_size); ...@@ -243,8 +245,10 @@ void url_get_filename(URLContext *h, char *buf, int buf_size);
*/ */
void url_set_interrupt_cb(URLInterruptCB *interrupt_cb); void url_set_interrupt_cb(URLInterruptCB *interrupt_cb);
#if FF_API_OLD_AVIO
/* not implemented */ /* not implemented */
int url_poll(URLPollEntry *poll_table, int n, int timeout); attribute_deprecated int url_poll(URLPollEntry *poll_table, int n, int timeout);
#endif
/** /**
* Pause and resume playing - only meaningful if using a network streaming * Pause and resume playing - only meaningful if using a network streaming
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment