summaryrefslogtreecommitdiff
path: root/libavformat/mp3dec.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-04-22 12:24:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-22 14:41:57 +0200
commit58fade2c68483d31f4bcaf1db49aafc45c2c3672 (patch)
treef4ea03ea8385f3c1fbb3a32a7760571c9e988276 /libavformat/mp3dec.c
parentc3a73666ad1eee93e49f25efae30fda5556c228e (diff)
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>
Diffstat (limited to 'libavformat/mp3dec.c')
-rw-r--r--libavformat/mp3dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
index 8a4dfbd7bb..a2d3dfe737 100644
--- a/libavformat/mp3dec.c
+++ b/libavformat/mp3dec.c
@@ -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)