mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavf: initialise reference_dts in av_estimate_timings_from_pts.
Fixes issue2437. Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
108f318d90
commit
a8fd2f4e02
@ -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…
Reference in New Issue
Block a user