From 6f1b7b39449c4cd58e37d831d5d97bfd25eb26f0 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Sun, 6 Nov 2011 22:50:44 +0200 Subject: avio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_alloc Change all uses of these function to pass the relevant callback on. --- libavformat/md5proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/md5proto.c') diff --git a/libavformat/md5proto.c b/libavformat/md5proto.c index 4630c49f5c..f136e805f9 100644 --- a/libavformat/md5proto.c +++ b/libavformat/md5proto.c @@ -65,7 +65,7 @@ static int md5_close(URLContext *h) av_strstart(filename, "md5:", &filename); if (*filename) { - err = ffurl_open(&out, filename, AVIO_FLAG_WRITE); + err = ffurl_open(&out, filename, AVIO_FLAG_WRITE, &h->interrupt_callback); if (err) return err; err = ffurl_write(out, buf, i*2+1); -- cgit v1.2.3