mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-03 06:30:37 +00:00
calculate default_duration for AAC tracks
Originally committed as revision 8364 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user