Commit 43784f8a authored by aurel's avatar aurel

calculate default_duration for AAC tracks

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8364 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 74afbd23
......@@ -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) {
......
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