#!/bin/sh /usr/share/dpatch/dpatch-run ## 209-magic-update-m4v.dpatch by Nigel McNie ## ## DP: Detect m4v files as m4v instead of mp4 (Closes: #384018). @DPATCH@ diff -Naurp file-4.23.orig/magic/Magdir/animation file-4.23/magic/Magdir/animation --- file-4.23.orig/magic/Magdir/animation 2007-11-08 00:28:03.000000000 +0000 +++ file-4.23/magic/Magdir/animation 2008-01-12 16:42:17.000000000 +0000 @@ -36,6 +36,7 @@ >8 string mmp4 \b, MPEG v4 system, 3GPP Mobile >8 string avc1 \b, MPEG v4 system, 3GPP JVT AVC >8 string/B M4A \b, MPEG v4 system, iTunes AAC-LC +>8 string/B M4V \b, MPEG v4 system, iTunes AVC-LC >8 string/B M4P \b, MPEG v4 system, iTunes AES encrypted >8 string/B M4B \b, MPEG v4 system, iTunes bookmarked >8 string/B qt \b, Apple QuickTime movie diff -Naurp file-4.23.orig/magic/magic.mime file-4.23/magic/magic.mime --- file-4.23.orig/magic/magic.mime 2007-12-27 16:19:37.000000000 +0000 +++ file-4.23/magic/magic.mime 2008-01-12 16:42:17.000000000 +0000 @@ -672,6 +672,7 @@ >8 string avc1 video/3gpp >8 string mmp4 video/mp4 >8 string/B M4A audio/mp4 +>8 string/B M4V video/mp4 >8 string/B qt video/quicktime # The contributor claims: # I couldn't find a real magic number for these, however, this