diff options
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index bf4ea2bd42..d6aba5a237 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3723,6 +3723,9 @@ 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) @@ -3803,9 +3806,6 @@ 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]; |