[FFmpeg-cvslog] amr: Set the AVFMT_GENERIC_INDEX flag

Martin Storsjö git at videolan.org
Wed Mar 23 03:03:41 CET 2011


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Feb  9 12:19:39 2011 +0200| [af79dd36f302d209eff18ee21410d987faad01a4] | committer: Luca Barbato

amr: Set the AVFMT_GENERIC_INDEX flag

This makes the amr demuxer support seeking, closing roundup
issue 2593.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=af79dd36f302d209eff18ee21410d987faad01a4
---

 libavformat/amr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/amr.c b/libavformat/amr.c
index 76136e6..260bd6a 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
 




More information about the ffmpeg-cvslog mailing list