# HG changeset patch # User alexc # Date 1284074117 0 # Node ID 5d5fbab4d608483c787538262d88a36e01b29855 # Parent eb68008daac28641d24b3094f43c73fa98523f84 adts demuxer: Set the time base to be the LCM of all ADTS sample rates. diff -r eb68008daac2 -r 5d5fbab4d608 aacdec.c --- 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; }