From: Christos Zoulas Date: Tue, 23 Sep 2014 17:02:12 +0000 (+0000) Subject: decode more webp X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d70380014c8b71c78cb2a0085c9a1dbdb6f63830;p=file decode more webp --- diff --git a/magic/Magdir/riff b/magic/Magdir/riff index f89acc4d..e551292b 100644 --- a/magic/Magdir/riff +++ b/magic/Magdir/riff @@ -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 # @@ -59,6 +59,10 @@ >>>>>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