diff --git a/avconv.c b/avconv.c index 11d77419eb916db2f2c99b2f3fcf850c898be0da..4d1c1a4494dc735d16fbdf033beb8b49649e3476 100644 --- a/avconv.c +++ b/avconv.c @@ -3065,6 +3065,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]); diff --git a/doc/avconv.texi b/doc/avconv.texi index 37f0cbd41505eec33b3735546afc22dd1753b9a7..0710650fea4fb2bdb6589ad7fc3768022d6a8f04 100644 --- a/doc/avconv.texi +++ b/doc/avconv.texi @@ -144,7 +144,6 @@ slower, but more accurate. @item -itsoffset @var{offset} Set the input time offset in seconds. @code{[-]hh:mm:ss[.xxx]} syntax is also supported. -This option affects all the input files that follow it. The offset is added to the timestamps of the input files. Specifying a positive offset means that the corresponding streams are delayed by 'offset' seconds.