summaryrefslogtreecommitdiff
path: root/libavformat/crypto.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-11-06 22:50:44 +0200
committerAnton Khirnov <anton@khirnov.net>2011-11-13 13:12:17 +0100
commit6f1b7b39449c4cd58e37d831d5d97bfd25eb26f0 (patch)
treeb97fb7b744d0d6d1d3611465b055dd10c17d8ebc /libavformat/crypto.c
parent9957cdbfd5ced5baae6ec97b97b08f1ad42aa4e4 (diff)
downloadffmpeg-6f1b7b39449c4cd58e37d831d5d97bfd25eb26f0.tar.gz
avio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_alloc
Change all uses of these function to pass the relevant callback on.
Diffstat (limited to 'libavformat/crypto.c')
-rw-r--r--libavformat/crypto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/crypto.c b/libavformat/crypto.c
index ea417470b6..5171b1256b 100644
--- a/libavformat/crypto.c
+++ b/libavformat/crypto.c
@@ -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;
}