diff options
author | Martin Storsjö <martin@martin.st> | 2011-11-06 22:34:24 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-13 13:08:13 +0100 |
commit | 9957cdbfd5ced5baae6ec97b97b08f1ad42aa4e4 (patch) | |
tree | 3bb6c32c1443eda97524dbea69b60416a3bdc019 /libavformat/tls.c | |
parent | c4a090ddb564b87fd9d6d4f83e0f134a77c96007 (diff) | |
download | ffmpeg-9957cdbfd5ced5baae6ec97b97b08f1ad42aa4e4.tar.gz |
avformat: Use ff_check_interrupt
Diffstat (limited to 'libavformat/tls.c')
-rw-r--r-- | libavformat/tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |