Mercurial > libavformat.hg
diff utils.c @ 1139:ff241582890f libavformat
do not fail av_find_stream_info() if params for all streams could not be found
author | mru |
---|---|
date | Thu, 29 Jun 2006 19:02:15 +0000 |
parents | 107f90e1551b |
children | ef9bf68071d3 |
line wrap: on
line diff
--- a/utils.c Wed Jun 28 21:40:08 2006 +0000 +++ b/utils.c Thu Jun 29 19:02:15 2006 +0000 @@ -1939,11 +1939,10 @@ char buf[256]; avcodec_string(buf, sizeof(buf), st->codec, 0); 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; }