[Ffmpeg-cvslog] r8333 - trunk/libavformat/matroska.c

aurel subversion
Mon Mar 12 00:19:27 CET 2007


Author: aurel
Date: Mon Mar 12 00:19:27 2007
New Revision: 8333

Modified:
   trunk/libavformat/matroska.c

Log:
revert r7181
This was a stupid mistake. We already take care of time_scale
in av_set_pts_info().


Modified: trunk/libavformat/matroska.c
==============================================================================
--- trunk/libavformat/matroska.c	(original)
+++ trunk/libavformat/matroska.c	Mon Mar 12 00:19:27 2007
@@ -2512,7 +2512,7 @@ matroska_parse_block(MatroskaDemuxContex
             }
             if (cluster_time != (uint64_t)-1 && n == 0) {
                 if (cluster_time + block_time >= 0)
-                    timecode = (cluster_time + block_time) * matroska->time_scale;
+                    timecode = cluster_time + block_time;
             }
             /* FIXME: duration */
 




More information about the ffmpeg-cvslog mailing list