Commit ca4a3f4a authored by Michael Niedermayer's avatar Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 44239bd9
......@@ -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);
}
......
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