forked from FFmpeg/FFmpeg
do not fail av_find_stream_info() if params for all streams could not be found
Originally committed as revision 5545 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c6bb50e002
commit
344a18c3b8
1 changed files with 2 additions and 3 deletions
|
@ -1939,11 +1939,10 @@ int av_find_stream_info(AVFormatContext *ic)
|
||||||
char buf[256];
|
char buf[256];
|
||||||
avcodec_string(buf, sizeof(buf), st->codec, 0);
|
avcodec_string(buf, sizeof(buf), st->codec, 0);
|
||||||
av_log(ic, AV_LOG_INFO, "Could not find codec parameters (%s)\n", buf);
|
av_log(ic, AV_LOG_INFO, "Could not find codec parameters (%s)\n", buf);
|
||||||
break;
|
} else {
|
||||||
|
ret = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (i == ic->nb_streams)
|
|
||||||
ret = 0;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue