diff options
author | Alex Converse <alex.converse@gmail.com> | 2010-09-09 23:15:17 +0000 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2010-09-09 23:15:17 +0000 |
commit | 20de72a447bffa70e6ef345fea441c4cd229312c (patch) | |
tree | b845bba6baffbc81ed269b6cb3cc5786c1e50c81 /libavformat | |
parent | 2dfa7c72cede04f95c4989099bcebfeeed68455b (diff) | |
download | ffmpeg-20de72a447bffa70e6ef345fea441c4cd229312c.tar.gz |
adts demuxer: Set the time base to be the LCM of all ADTS sample rates.
Originally committed as revision 25091 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/aacdec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c index bcceff3775..bc6c5a8b1f 100644 --- a/libavformat/aacdec.c +++ b/libavformat/aacdec.c @@ -80,6 +80,9 @@ static int adts_aac_read_header(AVFormatContext *s, 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; } |