Commit 20de72a4 authored by Alex Converse's avatar Alex Converse
Browse files

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
parent 2dfa7c72
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment