Browse Source

matroskadec: sane default value for track->time_scale

Originally committed as revision 13646 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Aurelien Jacobs 17 years ago
parent
commit
94f6c011d6
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/matroskadec.c

+ 1
- 0
libavformat/matroskadec.c View File

@@ -1030,6 +1030,7 @@ matroska_add_stream (MatroskaDemuxContext *matroska)

/* 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 */


Loading…
Cancel
Save