From e5362cecfbbe221b1695361e9c64b180e08f1667 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 30 Aug 2011 16:01:20 +0200 Subject: [PATCH] ffmpeg: reset input_ts_offset between files. Signed-off-by: Alex Converse Signed-off-by: Michael Niedermayer --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg.c b/ffmpeg.c index e3dfdeaf6f..bca1de9389 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3242,6 +3242,7 @@ static int opt_input_file(const char *opt, const char *filename) audio_channels = 0; audio_sample_fmt = AV_SAMPLE_FMT_NONE; av_dict_free(&ts_scale); + input_ts_offset = 0; for (i = 0; i < orig_nb_streams; i++) av_dict_free(&opts[i]);