Commit a1633c62 authored by michael's avatar michael

Allow av_find_stream_info() to be aborted.

Based on a patch by netgem.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17538 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a05bd185
......@@ -2020,6 +2020,11 @@ int av_find_stream_info(AVFormatContext *ic)
count = 0;
read_size = 0;
for(;;) {
if(url_interrupt_cb()){
ret= AVERROR(EINTR);
break;
}
/* check if one codec still needs to be handled */
for(i=0;i<ic->nb_streams;i++) {
st = ic->streams[i];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment