amr: Set the AVFMT_GENERIC_INDEX flag

This makes the amr demuxer support seeking, closing roundup
issue 2593.
This commit is contained in:
Martin Storsjö 2011-02-09 12:19:39 +02:00 committed by Luca Barbato
parent 026fa81de4
commit af79dd36f3
1 changed files with 1 additions and 0 deletions

View File

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