[FFmpeg-cvslog] r25091 - trunk/libavformat/aacdec.c
    alexc 
    subversion
       
    Fri Sep 10 01:15:17 CEST 2010
    
    
  
Author: alexc
Date: Fri Sep 10 01:15:17 2010
New Revision: 25091
Log:
adts demuxer: Set the time base to be the LCM of all ADTS sample rates.
Modified:
   trunk/libavformat/aacdec.c
Modified: trunk/libavformat/aacdec.c
==============================================================================
--- trunk/libavformat/aacdec.c	Thu Sep  9 22:58:13 2010	(r25090)
+++ trunk/libavformat/aacdec.c	Fri Sep 10 01:15:17 2010	(r25091)
@@ -80,6 +80,9 @@ static int adts_aac_read_header(AVFormat
     ff_id3v1_read(s);
     ff_id3v2_read(s, ID3v2_DEFAULT_MAGIC);
 
+    //LCM of all possible ADTS sample rates
+    av_set_pts_info(st, 64, 1, 28224000);
+
     return 0;
 }
 
    
    
More information about the ffmpeg-cvslog
mailing list