It's the most useful one, because it seeks accurately, and does not
break features like gapless audio.
---
libavformat/mp3dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
index 8a4dfbd..2227428 100644
--- a/libavformat/mp3dec.c
+++ b/libavformat/mp3dec.c
@@ -504,7 +504,7 @@ static int mp3_seek(AVFormatContext *s, int stream_index,
int64_t timestamp,
}
static const AVOption options[] = {
- { "usetoc", "use table of contents", offsetof(MP3DecContext, usetoc),
AV_OPT_TYPE_INT, {.i64 = -1}, -1, 2, AV_OPT_FLAG_DECODING_PARAM},
+ { "usetoc", "use table of contents", offsetof(MP3DecContext, usetoc),
AV_OPT_TYPE_INT, {.i64 = 2}, -1, 2, AV_OPT_FLAG_DECODING_PARAM},
{ NULL },
};
--
2.1.4
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel