Mercurial > libavformat.hg
diff avio.c @ 2839:b51319dd86e5 libavformat
Merge recently added and still unused play and pause functions.
author | michael |
---|---|
date | Wed, 19 Dec 2007 20:57:13 +0000 |
parents | 63fda6ba2173 |
children | f51675f78402 |
line wrap: on
line diff
--- a/avio.c Wed Dec 19 16:00:08 2007 +0000 +++ b/avio.c Wed Dec 19 20:57:13 2007 +0000 @@ -192,18 +192,11 @@ url_interrupt_cb = interrupt_cb; } -int av_url_read_play(URLContext *h) -{ - if (!h->prot->url_read_play) - return AVERROR(ENOSYS); - return h->prot->url_read_play(h); -} - -int av_url_read_pause(URLContext *h) +int av_url_read_pause(URLContext *h, int pause) { if (!h->prot->url_read_pause) return AVERROR(ENOSYS); - return h->prot->url_read_pause(h); + return h->prot->url_read_pause(h, pause); } int av_url_read_seek(URLContext *h,