diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-04 20:15:44 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-07 18:11:24 +0200 |
commit | 80c6e238b0f42a0b07fbc195564a50032b3608ba (patch) | |
tree | c2ac1db4b41f8d8c71ef5ea5804cc7f0287ab99c /libavformat/avio.c | |
parent | f87b1b373a0df55080c1e6a5874f9a0a75c6fee8 (diff) | |
download | ffmpeg-80c6e238b0f42a0b07fbc195564a50032b3608ba.tar.gz |
avio: avio_ prefix for url_set_interrupt_cb.
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r-- | libavformat/avio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index 8c53e5cd36..bacf9f35cd 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -216,6 +216,10 @@ void url_get_filename(URLContext *h, char *buf, int buf_size) { av_strlcpy(buf, h->filename, buf_size); } +void url_set_interrupt_cb(URLInterruptCB *interrupt_cb) +{ + avio_set_interrupt_cb(interrupt_cb); +} #endif #define URL_SCHEME_CHARS \ @@ -381,7 +385,7 @@ static int default_interrupt_cb(void) return 0; } -void url_set_interrupt_cb(URLInterruptCB *interrupt_cb) +void avio_set_interrupt_cb(URLInterruptCB *interrupt_cb) { if (!interrupt_cb) interrupt_cb = default_interrupt_cb; |