better generic index building and seeking code
[ffmpeg.git] / libavformat / mp3.c
index 02b50cf..e86ea14 100644 (file)
@@ -393,6 +393,7 @@ AVInputFormat mp3_demuxer = {
     mp3_read_header,
     mp3_read_packet,
     mp3_read_close,
+    .flags= AVFMT_GENERIC_INDEX,
     .extensions = "mp2,mp3,m2a", /* XXX: use probe */
 };
 #endif