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/utils.c | |
parent | c4a090ddb564b87fd9d6d4f83e0f134a77c96007 (diff) | |
download | ffmpeg-9957cdbfd5ced5baae6ec97b97b08f1ad42aa4e4.tar.gz |
avformat: Use ff_check_interrupt
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index c2beeaee7a..91760c89ab 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2310,7 +2310,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options) count = 0; read_size = 0; for(;;) { - if(url_interrupt_cb()){ + if (ff_check_interrupt(&ic->interrupt_callback)){ ret= AVERROR_EXIT; av_log(ic, AV_LOG_DEBUG, "interrupted\n"); break; |