diff options
author | Martin Storsjö <martin@martin.st> | 2011-02-09 12:19:39 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-03-21 21:31:34 +0100 |
commit | af79dd36f302d209eff18ee21410d987faad01a4 (patch) | |
tree | 0724a2945ab794ca39baf132931cd905739b0424 | |
parent | 026fa81de4cf4f1af742245fa9e750a38040f9fd (diff) | |
download | ffmpeg-af79dd36f302d209eff18ee21410d987faad01a4.tar.gz |
amr: Set the AVFMT_GENERIC_INDEX flag
This makes the amr demuxer support seeking, closing roundup
issue 2593.
-rw-r--r-- | libavformat/amr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/amr.c b/libavformat/amr.c index 76136e626b..260bd6ada6 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -181,6 +181,7 @@ AVInputFormat ff_amr_demuxer = { amr_read_header, amr_read_packet, NULL, + .flags = AVFMT_GENERIC_INDEX, }; #endif |