Mercurial > libavformat.hg
changeset 3421:5667ba68090f libavformat
matroskadec: sane default value for track->time_scale
author | aurel |
---|---|
date | Tue, 03 Jun 2008 15:09:30 +0000 |
parents | 8d4e4f414fc7 |
children | 6ff296d8b284 |
files | matroskadec.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/matroskadec.c Tue Jun 03 00:55:05 2008 +0000 +++ b/matroskadec.c Tue Jun 03 15:09:30 2008 +0000 @@ -1030,6 +1030,7 @@ /* 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 */