Merge recently added and still unused play and pause functions.

Originally committed as revision 11273 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2007-12-19 20:57:13 +00:00
parent 79e42311d3
commit 502bdf6893
4 changed files with 17 additions and 36 deletions

View File

@ -192,18 +192,11 @@ void url_set_interrupt_cb(URLInterruptCB *interrupt_cb)
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,