mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avio: deprecate url_poll and URLPollEntry
They're unimplemented and nobody cared to do anything with that for 10 years.
This commit is contained in:
parent
e05a3ac713
commit
e230705392
@ -57,11 +57,13 @@ typedef struct URLContext {
|
||||
int is_connected;
|
||||
} URLContext;
|
||||
|
||||
#if FF_API_OLD_AVIO
|
||||
typedef struct URLPollEntry {
|
||||
URLContext *handle;
|
||||
int events;
|
||||
int revents;
|
||||
} URLPollEntry;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @defgroup open_modes URL open modes
|
||||
@ -243,8 +245,10 @@ void url_get_filename(URLContext *h, char *buf, int buf_size);
|
||||
*/
|
||||
void url_set_interrupt_cb(URLInterruptCB *interrupt_cb);
|
||||
|
||||
#if FF_API_OLD_AVIO
|
||||
/* 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
|
||||
|
Loading…
Reference in New Issue
Block a user