diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-12-19 20:57:13 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-12-19 20:57:13 +0000 |
commit | 502bdf68937d71006d55aebd9da98e750bce4010 (patch) | |
tree | a0d144e92dac0b6f9b18593eaa31a544564130a3 /libavformat/avio.c | |
parent | 79e42311d3b8a7e8efb85866c1cec120da6d0983 (diff) | |
download | ffmpeg-502bdf68937d71006d55aebd9da98e750bce4010.tar.gz |
Merge recently added and still unused play and pause functions.
Originally committed as revision 11273 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r-- | libavformat/avio.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index 6a08a5e07e..8466cd5ee8 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -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, |