lavf: initialise reference_dts in av_estimate_timings_from_pts.

Fixes issue2437.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
pull/2/head
Michael Niedermayer 14 years ago committed by Anton Khirnov
parent 108f318d90
commit a8fd2f4e02
  1. 1
      libavformat/utils.c

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

Loading…
Cancel
Save