avio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_alloc

Change all uses of these function to pass the relevant
callback on.
This commit is contained in:
Martin Storsjö
2011-11-06 22:50:44 +02:00
committed by Anton Khirnov
parent 9957cdbfd5
commit 6f1b7b3944
18 changed files with 67 additions and 40 deletions

View File

@ -101,7 +101,7 @@ static av_cold int concat_open(URLContext *h, const char *uri, int flags)
uri += len + strspn(uri+len, AV_CAT_SEPARATOR);
/* creating URLContext */
if ((err = ffurl_open(&uc, node_uri, flags)) < 0)
if ((err = ffurl_open(&uc, node_uri, flags, &h->interrupt_callback)) < 0)
break;
/* creating size */