Bug 62817 - mp2 files not identified by magic bits, only by extension
Summary: mp2 files not identified by magic bits, only by extension
Status: RESOLVED MOVED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Shared Mime Info group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 15:02 UTC by Kathryn Cassidy
Modified: 2018-10-13 10:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Kathryn Cassidy 2013-03-27 15:02:58 UTC
mpeg layer II files (mp2) are being recognised only by extension, but it's quite common for these to have .mpeg or even .mp3 extensions.

The magic bits for mp2 files are:
mpeg version 2, layer II:
<match type="big16" value="0xfff4" offset="0"/>
<match type="big16" value="0xfff5" offset="0"/>

mpeg version 1, layer II:
<match type="big16" value="0xfffc" offset="0"/>
<match type="big16" value="0xfffd" offset="0"/>

It would be nice if this could be added.
Comment 1 GitLab Migration User 2018-10-13 10:38:39 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/45.


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.