From ca4a3f4a08de04344e5cb16b506564969a43ed7e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 11 Apr 2012 14:56:02 +0200 Subject: [PATCH] oggparsevorbis: Remove code messing with cur_dts. This code caused first_dts to become corrupt and in value to be around relative_ts. Signed-off-by: Michael Niedermayer --- libavformat/oggparsevorbis.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c index f72fd26c4c..e536d893ad 100644 --- a/libavformat/oggparsevorbis.c +++ b/libavformat/oggparsevorbis.c @@ -322,7 +322,6 @@ static int vorbis_packet(AVFormatContext *s, int idx) s->streams[idx]->start_time = os->lastpts + first_duration; if (s->streams[idx]->duration) s->streams[idx]->duration -= s->streams[idx]->start_time; - s->streams[idx]->cur_dts = AV_NOPTS_VALUE; priv->final_pts = AV_NOPTS_VALUE; avpriv_vorbis_parse_reset(&priv->vp); }