From: espie Date: Sat, 23 Jan 2021 10:18:28 +0000 (+0000) Subject: recognize those ubiquitous webp file X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=75786f755aea855b22b7fb4c97a94626baf417a1;p=openbsd recognize those ubiquitous webp file cherry-picked from FreeBSD okay millert@, deraadt@, sthen@ --- diff --git a/usr.bin/file/magdir/riff b/usr.bin/file/magdir/riff index 2aa2b3f07b7..0fd91a20de3 100644 --- a/usr.bin/file/magdir/riff +++ b/usr.bin/file/magdir/riff @@ -1,4 +1,4 @@ -# $OpenBSD: riff,v 1.3 2009/04/24 18:54:34 chl Exp $ +# $OpenBSD: riff,v 1.4 2021/01/23 10:18:28 espie Exp $ #------------------------------------------------------------------------------ # riff: file(1) magic for RIFF format @@ -177,6 +177,8 @@ # MPEG-1 wrapped in a RIFF, apparently >8 string CDXA \b, wrapped MPEG-1 (CDXA) >8 string 4XMV \b, 4X Movie file +>8 string WEBP \b, Web/P image +!:mime image/webp # # XXX - some of the below may only appear in little-endian form.