From 8d9f78e15b34eb83f03190cb1f92beca859ff14e Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sun, 27 Sep 2009 19:02:12 +0000 Subject: [PATCH] better mime Mate Miklos --- magic/Magdir/animation | 5 ++++- magic/Magdir/matroska | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/magic/Magdir/animation b/magic/Magdir/animation index 42ba1205..d36a49e5 100644 --- a/magic/Magdir/animation +++ b/magic/Magdir/animation @@ -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 @@ -700,6 +702,7 @@ # Microsoft Advanced Streaming Format (ASF) 0 belong 0x3026b275 Microsoft ASF +!:mime video/x-ms-asf # MNG Video Format, 0 string \x8aMNG MNG video data, diff --git a/magic/Magdir/matroska b/magic/Magdir/matroska index d05e6fc2..4db48ea7 100644 --- a/magic/Magdir/matroska +++ b/magic/Magdir/matroska @@ -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 -- 2.40.0