From: Christos Zoulas Date: Sat, 13 Sep 2014 14:04:21 +0000 (+0000) Subject: add webp vp8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fbf67d55b5770d63219b04e27be9db279565239;p=file add webp vp8 --- diff --git a/magic/Magdir/riff b/magic/Magdir/riff index d63ba4bb..2a277b8f 100644 --- a/magic/Magdir/riff +++ b/magic/Magdir/riff @@ -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 # @@ -45,6 +45,14 @@ >>&(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 # @@ -209,6 +217,8 @@ >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.