mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 01:40:04 +01:00
avformat: Use ff_check_interrupt
This commit is contained in:
committed by
Anton Khirnov
parent
c4a090ddb5
commit
9957cdbfd5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user