[FFmpeg-cvslog] r22705 - trunk/libavformat/oggparseskeleton.c

aurel subversion
Sun Mar 28 03:15:08 CEST 2010


Author: aurel
Date: Sun Mar 28 03:15:08 2010
New Revision: 22705

Log:
correct first pts for ogg skeleton

Modified:
   trunk/libavformat/oggparseskeleton.c

Modified: trunk/libavformat/oggparseskeleton.c
==============================================================================
--- trunk/libavformat/oggparseskeleton.c	Sat Mar 27 22:14:16 2010	(r22704)
+++ trunk/libavformat/oggparseskeleton.c	Sun Mar 28 03:15:08 2010	(r22705)
@@ -62,6 +62,7 @@ static int skeleton_header(AVFormatConte
         if (start_den) {
             av_reduce(&start_time, &st->time_base.den, start_num, start_den, INT_MAX);
             st->time_base.num = 1;
+            os->lastpts =
             st->start_time = start_time;
         }
     } else if (!strncmp(buf, "fisbone", 8)) {
@@ -71,6 +72,7 @@ static int skeleton_header(AVFormatConte
         target_idx = ogg_find_stream(ogg, AV_RL32(buf+12));
         start_granule = AV_RL64(buf+36);
         if (target_idx >= 0 && start_granule != -1) {
+            ogg->streams[target_idx].lastpts =
             s->streams[target_idx]->start_time = ogg_gptopts(s, target_idx, start_granule, NULL);
         }
     }



More information about the ffmpeg-cvslog mailing list