changeset 6470:5d5fbab4d608 libavformat

adts demuxer: Set the time base to be the LCM of all ADTS sample rates.
author alexc
date Thu, 09 Sep 2010 23:15:17 +0000
parents eb68008daac2
children b3aea89a4f63
files aacdec.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/aacdec.c	Thu Sep 09 19:27:41 2010 +0000
+++ b/aacdec.c	Thu Sep 09 23:15:17 2010 +0000
@@ -80,6 +80,9 @@
     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;
 }