summaryrefslogtreecommitdiff
path: root/libavformat/mp3.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-02-05 23:04:48 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-02-05 23:04:48 +0000
commite9b78eeba22b050810a507e69df1b652e56ab62b (patch)
treec63d266eb46b8f7d8a8c98e7ed39bd426aa48be8 /libavformat/mp3.c
parent7ee829922b1053a2496e5f0849265c4cb9060baf (diff)
better generic index building and seeking code
Originally committed as revision 7841 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mp3.c')
-rw-r--r--libavformat/mp3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c
index 02b50cff2c..e86ea14c80 100644
--- a/libavformat/mp3.c
+++ b/libavformat/mp3.c
@@ -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