mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/mp3dec: make generic index mode the default
It's the most useful mode, because it seeks accurately, and does not break features like gapless audio. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c3a73666ad
commit
58fade2c68
@ -337,7 +337,7 @@ static int mp3_read_header(AVFormatContext *s)
|
||||
int i;
|
||||
|
||||
if (mp3->usetoc < 0)
|
||||
mp3->usetoc = 0;
|
||||
mp3->usetoc = 2;
|
||||
|
||||
st = avformat_new_stream(s, NULL);
|
||||
if (!st)
|
||||
|
@ -1,5 +1,5 @@
|
||||
FATE_GAPLESS-$(CONFIG_MP3_DEMUXER) += fate-gapless-mp3 fate-gapless-mp3-toc fate-gapless-mp3-notoc
|
||||
fate-gapless-mp3: CMD = gapless $(TARGET_SAMPLES)/gapless/gapless.mp3 "-usetoc 2"
|
||||
fate-gapless-mp3: CMD = gapless $(TARGET_SAMPLES)/gapless/gapless.mp3
|
||||
fate-gapless-mp3-toc: CMD = gapless $(TARGET_SAMPLES)/gapless/gapless.mp3 "-usetoc 1"
|
||||
fate-gapless-mp3-notoc: CMD = gapless $(TARGET_SAMPLES)/gapless/gapless.mp3 "-usetoc 0"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user