Bug 7718 - Magic offset for MP4 is wrong
Summary: Magic offset for MP4 is wrong
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Windows (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-01 01:56 UTC by thrope
Modified: 2006-08-25 07:28 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
patch to fix m4a pattern match offset in freedesktop.xml.org.in (580 bytes, patch)
2006-08-03 11:23 UTC, foser
Details | Splinter Review

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.