Commit af79dd36 authored by Martin Storsjö's avatar Martin Storsjö Committed by Luca Barbato

amr: Set the AVFMT_GENERIC_INDEX flag

This makes the amr demuxer support seeking, closing roundup
issue 2593.
parent 026fa81d
...@@ -181,6 +181,7 @@ AVInputFormat ff_amr_demuxer = { ...@@ -181,6 +181,7 @@ AVInputFormat ff_amr_demuxer = {
amr_read_header, amr_read_header,
amr_read_packet, amr_read_packet,
NULL, NULL,
.flags = AVFMT_GENERIC_INDEX,
}; };
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment