From 9957cdbfd5ced5baae6ec97b97b08f1ad42aa4e4 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Sun, 6 Nov 2011 22:34:24 +0200 Subject: avformat: Use ff_check_interrupt --- libavformat/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/tls.c') diff --git a/libavformat/tls.c b/libavformat/tls.c index 8211e88846..15d51f3784 100644 --- a/libavformat/tls.c +++ b/libavformat/tls.c @@ -97,7 +97,7 @@ static int do_tls_poll(URLContext *h, int ret) int n = poll(&p, 1, 100); if (n > 0) break; - if (url_interrupt_cb()) + if (ff_check_interrupt(&h->interrupt_callback)) return AVERROR(EINTR); } return 0; -- cgit v1.2.3