[FFmpeg-cvslog] r13602 - trunk/libavformat/matroskadec.c

aurel subversion
Sun Jun 1 16:41:53 CEST 2008


Author: aurel
Date: Sun Jun  1 16:41:53 2008
New Revision: 13602

Log:
matroskadec: use the proper timestamp scaling for index entries

Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	(original)
+++ trunk/libavformat/matroskadec.c	Sun Jun  1 16:41:53 2008
@@ -2692,7 +2692,7 @@ matroska_read_header (AVFormatContext   
             stream = matroska->tracks[track]->stream_index;
             if (stream >= 0 && stream < matroska->ctx->nb_streams)
                 av_add_index_entry(matroska->ctx->streams[stream],
-                                   idx->pos, idx->time/matroska->time_scale,
+                                   idx->pos, idx->time/AV_TIME_BASE,
                                    0, 0, AVINDEX_KEYFRAME);
         }
     }




More information about the ffmpeg-cvslog mailing list