Commit e5362cec authored by Anton Khirnov's avatar Anton Khirnov Committed by Michael Niedermayer

ffmpeg: reset input_ts_offset between files.

Signed-off-by: 's avatarAlex Converse <alex.converse@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 38064945
...@@ -3242,6 +3242,7 @@ static int opt_input_file(const char *opt, const char *filename) ...@@ -3242,6 +3242,7 @@ static int opt_input_file(const char *opt, const char *filename)
audio_channels = 0; audio_channels = 0;
audio_sample_fmt = AV_SAMPLE_FMT_NONE; audio_sample_fmt = AV_SAMPLE_FMT_NONE;
av_dict_free(&ts_scale); av_dict_free(&ts_scale);
input_ts_offset = 0;
for (i = 0; i < orig_nb_streams; i++) for (i = 0; i < orig_nb_streams; i++)
av_dict_free(&opts[i]); av_dict_free(&opts[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