You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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>
This commit is contained in:
@@ -322,7 +322,6 @@ static int vorbis_packet(AVFormatContext *s, int idx)
|
|||||||
s->streams[idx]->start_time = os->lastpts + first_duration;
|
s->streams[idx]->start_time = os->lastpts + first_duration;
|
||||||
if (s->streams[idx]->duration)
|
if (s->streams[idx]->duration)
|
||||||
s->streams[idx]->duration -= s->streams[idx]->start_time;
|
s->streams[idx]->duration -= s->streams[idx]->start_time;
|
||||||
s->streams[idx]->cur_dts = AV_NOPTS_VALUE;
|
|
||||||
priv->final_pts = AV_NOPTS_VALUE;
|
priv->final_pts = AV_NOPTS_VALUE;
|
||||||
avpriv_vorbis_parse_reset(&priv->vp);
|
avpriv_vorbis_parse_reset(&priv->vp);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user