oggdec: chained oggs have timestamp discontinuities
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 20 Jan 2013 17:38:24 +0000 (18:38 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 27 Feb 2013 02:46:12 +0000 (03:46 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/oggdec.c

index dc48a73..5cb03fe 100644 (file)
@@ -849,5 +849,5 @@ AVInputFormat ff_ogg_demuxer = {
     .read_seek      = ogg_read_seek,
     .read_timestamp = ogg_read_timestamp,
     .extensions     = "ogg",
-    .flags          = AVFMT_GENERIC_INDEX,
+    .flags          = AVFMT_GENERIC_INDEX | AVFMT_TS_DISCONT,
 };