Browse Source

lavf: initialise reference_dts in av_estimate_timings_from_pts.

Fixes issue2437.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n0.8
Michael Niedermayer Anton Khirnov 14 years ago
parent
commit
a8fd2f4e02
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/utils.c

+ 1
- 0
libavformat/utils.c View File

@@ -1933,6 +1933,7 @@ static void av_estimate_timings_from_pts(AVFormatContext *ic, int64_t old_offset
st= ic->streams[i];
st->cur_dts= st->first_dts;
st->last_IP_pts = AV_NOPTS_VALUE;
st->reference_dts = AV_NOPTS_VALUE;
}
}



Loading…
Cancel
Save