|
@@ -260,6 +260,10 @@ static void mp3_parse_info_tag(AVFormatContext *s, AVStream *st, |
|
|
st->first_discard_sample = -mp3->end_pad + 528 + 1 + mp3->frames * (int64_t)spf; |
|
|
st->first_discard_sample = -mp3->end_pad + 528 + 1 + mp3->frames * (int64_t)spf; |
|
|
st->last_discard_sample = mp3->frames * (int64_t)spf; |
|
|
st->last_discard_sample = mp3->frames * (int64_t)spf; |
|
|
} |
|
|
} |
|
|
|
|
|
if (!st->start_time) |
|
|
|
|
|
st->start_time = av_rescale_q(st->start_skip_samples, |
|
|
|
|
|
(AVRational){1, c->sample_rate}, |
|
|
|
|
|
st->time_base); |
|
|
av_log(s, AV_LOG_DEBUG, "pad %d %d\n", mp3->start_pad, mp3-> end_pad); |
|
|
av_log(s, AV_LOG_DEBUG, "pad %d %d\n", mp3->start_pad, mp3-> end_pad); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|