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/avio.c | |
parent | c4a090ddb564b87fd9d6d4f83e0f134a77c96007 (diff) | |
download | ffmpeg-9957cdbfd5ced5baae6ec97b97b08f1ad42aa4e4.tar.gz |
avformat: Use ff_check_interrupt
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r-- | libavformat/avio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index 1964012b1d..c66e2caac3 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -284,7 +284,7 @@ static inline int retry_transfer_wrapper(URLContext *h, unsigned char *buf, int if (ret) fast_retries = FFMAX(fast_retries, 2); len += ret; - if (url_interrupt_cb()) + if (ff_check_interrupt(&h->interrupt_callback)) return AVERROR_EXIT; } return len; |