Commit df1d2eef authored by bcoudurier's avatar bcoudurier

set mp3 timebase to the lcm of all mp3 sample rates to fix frame duration

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20579 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 46984822
......@@ -143,6 +143,9 @@ static int mp3_read_header(AVFormatContext *s,
st->need_parsing = AVSTREAM_PARSE_FULL;
st->start_time = 0;
// lcm of all mp3 sample rates
av_set_pts_info(st, 64, 1, 14112000);
ff_id3v2_read(s);
if (!av_metadata_get(s->metadata, "", NULL, AV_METADATA_IGNORE_SUFFIX))
ff_id3v1_read(s);
......
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