Bug 7718

Summary: Magic offset for MP4 is wrong
Product: shared-mime-info Reporter: thrope <freedesktop>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: bugzilla, foser
Version: unspecified   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: patch to fix m4a pattern match offset in freedesktop.xml.org.in

Description thrope 2006-08-01 01:56:28 UTC
The offset attribute for the magic -> match entry is wrong... It should be 4 not 0.

  <mime-type type="audio/mp4">
    <_comment>MPEG-4 audio</_comment>
    <alias type="audio/x-m4a"/>
    <magic priority="50">
      <match type="string" value="ftypM4A" offset="0"/> <!-- Offset should be 4 -->
    </magic>
    <glob pattern="*.m4a"/>
  </mime-type>
Comment 1 foser 2006-08-03 11:23:21 UTC
Created attachment 6445 [details] [review]
patch to fix m4a pattern match offset in freedesktop.xml.org.in
Comment 2 Bastien Nocera 2006-08-25 07:28:52 UTC
Indeed.

2006-08-25  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Fix the magic offset for M4A files, spotted
        by thrope <freedesktop@robince.ftml.net> (Closes: #7718)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.