]> granicus.if.org Git - file/commitdiff
PR/247: Add mime type for Web/P and remove the commented out entry in images
authorChristos Zoulas <christos@zoulas.com>
Sat, 14 Feb 2015 17:30:03 +0000 (17:30 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 14 Feb 2015 17:30:03 +0000 (17:30 +0000)
magic/Magdir/images
magic/Magdir/riff

index 1f90cc9cb56651e53632d7f2fef2368a1e3152d0..88107408ed4fde30617cfc2c37089df46e6c4135 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: images,v 1.104 2015/01/24 22:45:46 christos Exp $
+# $File: images,v 1.105 2015/02/14 17:30:03 christos Exp $
 # images:  file(1) magic for image formats (see also "iff", and "c-lang" for
 # XPM bitmaps)
 #
 # From: "Tano M. Fotang" <mfotang@quanteq.com>
 0      string  \x46\x4d\x52\x00        ISO/IEC 19794-2 Format Minutiae Record (FMR)
 
-# WEBP https://developers.google.com/speed/webp/docs/riff_container
-#0     string  RIFF
-#>8    string  WEBP    Web/P image data
-#>>4   lelong  x       \b, %d bytes
-
 # doc: http://www.shikino.co.jp/eng/products/images/FLOWER.jpg.zip
 # example: http://www.shikino.co.jp/eng/products/images/FLOWER.wdp.zip
 90     bequad          0x574D50484F544F00      JPEG-XR Image
index e551292b38b9635ac8f4e430bb8c17565f764807..55cfb20b63f2598dd7e1c3887a80b9c1879e9523 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: riff,v 1.30 2014/09/23 17:02:12 christos Exp $
+# $File: riff,v 1.31 2015/02/14 17:30:03 christos Exp $
 # riff:  file(1) magic for RIFF format
 # See
 #
 # AMV-type AVI file: http://wiki.multimedia.cx/index.php?title=AMV
 >8     string          AMV\040         \b, AMV 
 >8      string          WEBP            \b, Web/P image
+!:mime image/webp
 >>12   use             riff-walk
 
 #