mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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
This commit is contained in:
parent
2dfa7c72ce
commit
20de72a447
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user