Browse Source

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
tags/n0.8
Alex Converse 14 years ago
parent
commit
20de72a447
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavformat/aacdec.c

+ 3
- 0
libavformat/aacdec.c View File

@@ -80,6 +80,9 @@ static int adts_aac_read_header(AVFormatContext *s,
ff_id3v1_read(s); ff_id3v1_read(s);
ff_id3v2_read(s, ID3v2_DEFAULT_MAGIC); ff_id3v2_read(s, ID3v2_DEFAULT_MAGIC);


//LCM of all possible ADTS sample rates
av_set_pts_info(st, 64, 1, 28224000);

return 0; return 0;
} }




Loading…
Cancel
Save