aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-03-08 22:39:14 +0100
committerAnton Khirnov <anton@khirnov.net>2011-06-13 20:46:06 +0200
commita8fd2f4e0238d6ddde0db28c5bb4b39d2f98d4ed (patch)
tree92b60e919021aa487cef4ee9a1882cd6deade974 /libavformat
parent108f318d908c552d88bc7570515e4ddb9ea45e3d (diff)
downloadffmpeg-a8fd2f4e0238d6ddde0db28c5bb4b39d2f98d4ed.tar.gz
lavf: initialise reference_dts in av_estimate_timings_from_pts.
Fixes issue2437. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index dc3b9d8fb8..d0fd0d46ff 100644
--- a/libavformat/utils.c
+++ b/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->cur_dts= st->first_dts;
st->last_IP_pts = AV_NOPTS_VALUE;
+ st->reference_dts = AV_NOPTS_VALUE;
}
}