Commit a742a053 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/mp3dec: Allow forcing the use of the xing TOC for CBR files

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0842df26
......@@ -428,6 +428,7 @@ static int mp3_seek(AVFormatContext *s, int stream_index, int64_t timestamp,
int best_score;
if ( mp3->is_cbr
&& (mp3->usetoc <= 0 || !mp3->xing_toc)
&& st->duration > 0
&& mp3->header_filesize > s->internal->data_offset
&& mp3->frames) {
......
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