Commit 3c461eec authored by Derek Buitenhuis's avatar Derek Buitenhuis

Merge commit '1ceb07eb'

* commit '1ceb07eb':
  avformat_find_stream_info: move duration guessing after updating codec parameters
Merged-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parents 884dd175 1ceb07eb
......@@ -3723,9 +3723,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
}
}
if (probesize)
estimate_timings(ic, old_offset);
av_opt_set(ic, "skip_clear", "0", AV_OPT_SEARCH_CHILDREN);
if (ret >= 0 && ic->nb_streams)
......@@ -3806,6 +3803,9 @@ FF_ENABLE_DEPRECATION_WARNINGS
st->internal->avctx_inited = 0;
}
if (probesize)
estimate_timings(ic, old_offset);
find_stream_info_err:
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