mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-26 18:30:52 +08:00
av_*_next() API for libavformat
Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -26,6 +26,12 @@ static int default_interrupt_cb(void);
|
||||
URLProtocol *first_protocol = NULL;
|
||||
URLInterruptCB *url_interrupt_cb = default_interrupt_cb;
|
||||
|
||||
URLProtocol *av_protocol_next(URLProtocol *p)
|
||||
{
|
||||
if(p) return p->next;
|
||||
else return first_protocol;
|
||||
}
|
||||
|
||||
int register_protocol(URLProtocol *protocol)
|
||||
{
|
||||
URLProtocol **p;
|
||||
|
||||
Reference in New Issue
Block a user