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
oldabi
Alex Converse 15 years ago
parent 2dfa7c72ce
commit 20de72a447
  1. 3
      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;
}

Loading…
Cancel
Save