]> granicus.if.org Git - file/commitdiff
decode more webp
authorChristos Zoulas <christos@zoulas.com>
Tue, 23 Sep 2014 17:02:12 +0000 (17:02 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 23 Sep 2014 17:02:12 +0000 (17:02 +0000)
magic/Magdir/riff

index f89acc4d5c477e844121b27e7596babd0110eb4b..e551292b38b9635ac8f4e430bb8c17565f764807 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: riff,v 1.29 2014/09/15 15:10:42 christos Exp $
+# $File: riff,v 1.30 2014/09/23 17:02:12 christos Exp $
 # riff:  file(1) magic for RIFF format
 # See
 #
 >>>>>14                leshort&0xc000  0x1000  \bx[5/4]
 >>>>>14                leshort&0xc000  0x2000  \bx[5/3]
 >>>>>14                leshort&0xc000  0x3000  \bx[2]
+>>>>>15                byte&0x80       =0x00   \b, YUV color
+>>>>>15                byte&0x80       =0x80   \b, bad color specification
+>>>>>15                byte&0x40       =0x40   \b, no clamping required
+>>>>>15                byte&0x40       =0x00   \b, decoders should clamp
 #>0  string  x         we got %s
 #>>&(4.l+4)  use riff-walk