]> granicus.if.org Git - file/commitdiff
better mime Mate Miklos <mtmkls@freemail.hu>
authorChristos Zoulas <christos@zoulas.com>
Sun, 27 Sep 2009 19:02:12 +0000 (19:02 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 27 Sep 2009 19:02:12 +0000 (19:02 +0000)
magic/Magdir/animation
magic/Magdir/matroska

index 42ba12053f4cab7081869e7caacc038dd1572194..d36a49e5830980d1219894a28c03d7509fed4ea9 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File$
+# $File: animation,v 1.38 2009/09/19 16:28:07 christos Exp $
 # animation:  file(1) magic for animation/movie formats
 #
 # animation formats
@@ -72,6 +72,7 @@
 >>7      byte               x              \b @ L %u
 0        belong&0xFFFFFF00  0x00000100     
 >3       byte               0xBA           MPEG sequence
+!:mime  video/mpeg
 >>4      byte               &0x40          \b, v2, program multiplex
 >>4      byte               ^0x40          \b, v1, system multiplex
 >3       byte               0xBB           MPEG sequence, v1/2, multiplex (missing pack header)
@@ -81,6 +82,7 @@
 >>4      byte               88             \b, extended
 >>6      byte               x              \b @ L %u
 >3       byte               0xB0           MPEG sequence, v4
+!:mime  video/mpeg4-generic
 >>5      belong             0x000001B5
 >>>9     byte               &0x80
 >>>>10   byte&0xF0          16             \b, video
 
 # Microsoft Advanced Streaming Format (ASF) <mpruett@sgi.com>
 0      belong                  0x3026b275      Microsoft ASF
+!:mime  video/x-ms-asf
 
 # MNG Video Format, <URL:http://www.libpng.org/pub/mng/spec/>
 0      string                  \x8aMNG         MNG video data,
index d05e6fc28eb5cf7fc8a0e68cf997b3b3c93aeeb4..4db48ea76d858cf3c52c351771545b4abbfe9c78 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File$
+# $File: matroska,v 1.4 2009/09/19 16:28:10 christos Exp $
 # matroska:  file(1) magic for Matroska files
 #
 # See http://www.matroska.org/
@@ -12,4 +12,4 @@
 >5             beshort         0x4282
 # DocType contents:
 >>8            string          matroska        Matroska data
-
+!:mime  video/x-matroska