aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-11 14:56:02 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-11 14:56:02 +0200
commitca4a3f4a08de04344e5cb16b506564969a43ed7e (patch)
treee905947aaec082459c8a223ae2a407a151fde637 /libavformat
parent44239bd9f2f1867f9dc732c686f91edd86d33fbc (diff)
downloadffmpeg-ca4a3f4a08de04344e5cb16b506564969a43ed7e.tar.gz
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 <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/oggparsevorbis.c1
1 files changed, 0 insertions, 1 deletions
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);
}