]> granicus.if.org Git - file/commitdiff
add webp vp8
authorChristos Zoulas <christos@zoulas.com>
Sat, 13 Sep 2014 14:04:21 +0000 (14:04 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 13 Sep 2014 14:04:21 +0000 (14:04 +0000)
magic/Magdir/riff

index d63ba4bbbef8eb081217395b0a626354a9399775..2a277b8ffa1416f59898458fe0285d5ec0a881cd 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: riff,v 1.27 2014/04/30 21:41:02 christos Exp $
+# $File: riff,v 1.28 2014/09/13 14:04:21 christos Exp $
 # riff:  file(1) magic for RIFF format
 # See
 #
 >>&(4.l+4)  use riff-walk
 >0  string  fact
 >>&(4.l+4)  use riff-walk
+>0  string  VP8
+>>11   byte    0x9d
+>>>10  byte    0x01
+>>>>13 byte    0x2a    \b, VP8 encoding
+>>>>>14        leshort&0x3fff  x       \b, %d
+>>>>>16        leshort&0x3fff  x       \bx%d
+#>0  string  x         we got %s
+#>>&(4.l+4)  use riff-walk
 
 # AVI section extended by Patrik Radman <patrik+file-magic@iki.fi>
 #
 >8     string          4XMV            \b, 4X Movie file 
 # AMV-type AVI file: http://wiki.multimedia.cx/index.php?title=AMV
 >8     string          AMV\040         \b, AMV 
+>8      string          WEBP            \b, WEBP image
+>>12   use             riff-walk
 
 #
 # XXX - some of the below may only appear in little-endian form.