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

lavf: initialise reference_dts in av_estimate_timings_from_pts.

Fixes issue2437.
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 108f318d
......@@ -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;
}
}
......
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