comparison aacdec.c @ 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 4775a49a6045
children
comparison
equal deleted inserted replaced
6469:eb68008daac2 6470:5d5fbab4d608
78 st->need_parsing = AVSTREAM_PARSE_FULL; 78 st->need_parsing = AVSTREAM_PARSE_FULL;
79 79
80 ff_id3v1_read(s); 80 ff_id3v1_read(s);
81 ff_id3v2_read(s, ID3v2_DEFAULT_MAGIC); 81 ff_id3v2_read(s, ID3v2_DEFAULT_MAGIC);
82 82
83 //LCM of all possible ADTS sample rates
84 av_set_pts_info(st, 64, 1, 28224000);
85
83 return 0; 86 return 0;
84 } 87 }
85 88
86 AVInputFormat aac_demuxer = { 89 AVInputFormat aac_demuxer = {
87 "aac", 90 "aac",