changeset 1903:0f2186d1cc19 libavformat

revert r7181 This was a stupid mistake. We already take care of time_scale in av_set_pts_info().
author aurel
date Sun, 11 Mar 2007 23:19:27 +0000
parents 4225f8dc0098
children df5fe029a504
files matroska.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/matroska.c	Sun Mar 11 23:05:01 2007 +0000
+++ b/matroska.c	Sun Mar 11 23:19:27 2007 +0000
@@ -2512,7 +2512,7 @@
             }
             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 */