[FFmpeg-cvslog] oggparsevorbis: Remove code messing with cur_dts.
Michael Niedermayer
git at videolan.org
Wed Apr 11 20:59:59 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Apr 11 14:56:02 2012 +0200| [ca4a3f4a08de04344e5cb16b506564969a43ed7e] | committer: 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: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ca4a3f4a08de04344e5cb16b506564969a43ed7e
---
libavformat/oggparsevorbis.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c
index f72fd26..e536d89 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);
}
More information about the ffmpeg-cvslog
mailing list