Skip to content
Snippets Groups Projects
Commit 94f6c011 authored by Aurelien Jacobs's avatar Aurelien Jacobs
Browse files

matroskadec: sane default value for track->time_scale

Originally committed as revision 13646 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e85754cc
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment