aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-02-09 12:19:39 +0200
committerLuca Barbato <lu_zero@gentoo.org>2011-03-21 21:31:34 +0100
commitaf79dd36f302d209eff18ee21410d987faad01a4 (patch)
tree0724a2945ab794ca39baf132931cd905739b0424 /libavformat
parent026fa81de4cf4f1af742245fa9e750a38040f9fd (diff)
downloadffmpeg-af79dd36f302d209eff18ee21410d987faad01a4.tar.gz
amr: Set the AVFMT_GENERIC_INDEX flag
This makes the amr demuxer support seeking, closing roundup issue 2593.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/amr.c1
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