[Ffmpeg-cvslog] r8364 - trunk/libavformat/matroska.c

aurel subversion
Tue Mar 13 01:02:55 CET 2007


Author: aurel
Date: Tue Mar 13 01:02:55 2007
New Revision: 8364

Modified:
   trunk/libavformat/matroska.c

Log:
calculate default_duration for AAC tracks

Modified: trunk/libavformat/matroska.c
==============================================================================
--- trunk/libavformat/matroska.c	(original)
+++ trunk/libavformat/matroska.c	Tue Mar 13 01:02:55 2007
@@ -2313,6 +2313,7 @@ matroska_read_header (AVFormatContext   
                 } else {
                     extradata_size = 2;
                 }
+                track->default_duration = 1024*1000 / audiotrack->internal_samplerate;
             }
 
             else if (codec_id == CODEC_ID_TTA) {




More information about the ffmpeg-cvslog mailing list