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

aurel subversion
Tue Jun 3 17:09:31 CEST 2008


Author: aurel
Date: Tue Jun  3 17:09:30 2008
New Revision: 13646

Log:
matroskadec: sane default value for track->time_scale


Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	(original)
+++ trunk/libavformat/matroskadec.c	Tue Jun  3 17:09:30 2008
@@ -1030,6 +1030,7 @@ matroska_add_stream (MatroskaDemuxContex
 
     /* Allocate a generic track. As soon as we know its type we'll realloc. */
     track = av_mallocz(MAX_TRACK_SIZE);
+    track->time_scale = 1.0;
     strcpy(track->language, "eng");
 
     /* try reading the trackentry headers */




More information about the ffmpeg-cvslog mailing list