git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
calculate default_duration for AAC tracks
[ffmpeg.git]
/
libavformat
/
matroska.c
diff --git
a/libavformat/matroska.c
b/libavformat/matroska.c
index
b3ea7a0
..
d1b76f5
100644
(file)
--- a/
libavformat/matroska.c
+++ b/
libavformat/matroska.c
@@
-2313,6
+2313,7
@@
matroska_read_header (AVFormatContext *s,
} else {
extradata_size = 2;
}
+ track->default_duration = 1024*1000 / audiotrack->internal_samplerate;
}
else if (codec_id == CODEC_ID_TTA) {