Commit ef4184e8 authored by aurel's avatar aurel

matroskadec: sane default value for track->time_scale


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13646 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e4780563
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment