avformat: Use ff_check_interrupt

This commit is contained in:
Martin Storsjö
2011-11-06 22:34:24 +02:00
committed by Anton Khirnov
parent c4a090ddb5
commit 9957cdbfd5
8 changed files with 13 additions and 10 deletions

View File

@ -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;