gifdec: rudimentary seeking
authorPaul B Mahol <onemda@gmail.com>
Sat, 1 Dec 2012 11:07:50 +0000 (11:07 +0000)
committerPaul B Mahol <onemda@gmail.com>
Sat, 1 Dec 2012 11:43:50 +0000 (11:43 +0000)
With this ffplay -loop X successfully seeks to start.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/gifdec.c

index 706bc5a..46eef7c 100644 (file)
@@ -286,5 +286,6 @@ AVInputFormat ff_gif_demuxer = {
     .read_probe     = gif_probe,
     .read_header    = gif_read_header,
     .read_packet    = gif_read_packet,
+    .flags          = AVFMT_GENERIC_INDEX,
     .priv_class     = &demuxer_class,
 };