Summary: | audio/x-wav and video/x-msvideo have conflicting magic | ||
---|---|---|---|
Product: | shared-mime-info | Reporter: | Sebastian Dröge (slomo) <slomo> |
Component: | freedesktop.org.xml | Assignee: | Jonathan Blandford <jrb> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | slomo |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Sebastian Dröge (slomo)
2007-09-23 23:53:45 UTC
The problem is, that both wav and msvideo (aka avi) have "RIFF" at byte 0. They only differ afterwards, i.e. have "WAVE" at byte 8 for wav and "AVI" at byte 8 for msvideo. Same applies to audio/x-riff as it also has "RIFF" in the magic list. I couldn't reproduce the bug before, but I made the changes to require both the RIFF and AVI bits for AVI files. * freedesktop.org.xml.in: Require AVI files to have both the RIFF and the "AVI " bits, not just one of them (Closes: #12541) * tests/list: * tests/test.avi: * tests/test.wav: Add WAVE and AVI test files |
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.