Browse Source

amr: Set the AVFMT_GENERIC_INDEX flag

This makes the amr demuxer support seeking, closing roundup
issue 2593.
Martin Storsjö 14 years ago
parent
commit
af79dd36f3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libavformat/amr.c

+ 1 - 0
libavformat/amr.c

@@ -181,6 +181,7 @@ AVInputFormat ff_amr_demuxer = {
     amr_read_header,
     amr_read_packet,
     NULL,
+    .flags = AVFMT_GENERIC_INDEX,
 };
 #endif