mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 22:25:36 +01:00
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:
committed by
Anton Khirnov
parent
9957cdbfd5
commit
6f1b7b3944
@@ -82,7 +82,8 @@ static int crypto_open(URLContext *h, const char *uri, int flags)
|
||||
ret = AVERROR(ENOSYS);
|
||||
goto err;
|
||||
}
|
||||
if ((ret = ffurl_open(&c->hd, nested_url, AVIO_FLAG_READ)) < 0) {
|
||||
if ((ret = ffurl_open(&c->hd, nested_url, AVIO_FLAG_READ,
|
||||
&h->interrupt_callback)) < 0) {
|
||||
av_log(h, AV_LOG_ERROR, "Unable to open input\n");
|
||||
goto err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user