Bug 142342 - shared-mime-info-0.17-r2: MP4 offset incorrect in freedesktop.org.xml
|
Bug#:
142342
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: foser@gentoo.org
|
Reported By: gentoo@robince.ftml.net
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: shared-mime-info-0.17-r2: MP4 offset incorrect in freedesktop.org.xml
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-07-31 14:57 0000
|
The /usr/share/mime/packages/freedesktop.org.xml file in
shared-mime-info-0.17-r2 has an error in the MP4 section.
The offset attribute in the magic -> match entry should be 4, not 0.
<mime-type type="audio/mp4">
<comment>MPEG-4 audio</comment>
<comment xml:lang="bg">Аудио
файл, формат
MPEG-4</comment>
<comment xml:lang="de">MPEG-4-Audio</comment>
<comment xml:lang="nb">MPEG-4-lyd</comment>
<comment xml:lang="no">MPEG-4-lyd</comment>
<alias type="audio/x-m4a"/>
<magic priority="50">
<!-- WRONG:
<match value="ftypM4A" type="string" offset="0"/>
-->
<match value="ftypM4A" type="string" offset="4"/>
</magic>
<glob pattern="*.m4a"/>
</mime-type>
<mime-type type="video/mp4">
This already got fixed in 0.18 afaics, can you confirm that ? Might be a good
time to stabilize it.
It doesn't seem to be fixed in 0.18 (although there are some more
translations):
<mime-type type="audio/mp4">
<comment>MPEG-4 audio</comment>
<comment xml:lang="bg">Аудио,
формат MPEG-4</comment>
<comment xml:lang="cs">Zvuk MPEG-4</comment>
<comment xml:lang="de">MPEG-4-Audio</comment>
<comment xml:lang="es">Audio MPEG-4</comment>
<comment xml:lang="eu">MPEG-4 audioa</comment>
<comment xml:lang="hu">MPEG-4-hang</comment>
<comment xml:lang="it">Audio MPEG-4</comment>
<comment xml:lang="ko">MPEG-4 오디오</comment>
<comment xml:lang="nb">MPEG-4-lyd</comment>
<comment xml:lang="nn">MPEG-4-lyd</comment>
<comment xml:lang="sv">MPEG-4-ljud</comment>
<comment xml:lang="uk">Звук MPEG-4</comment>
<comment xml:lang="vi">
It doesn't seem to be fixed in 0.18 (although there are some more
translations):
<mime-type type="audio/mp4">
<comment>MPEG-4 audio</comment>
<comment xml:lang="bg">Аудио,
формат MPEG-4</comment>
<comment xml:lang="cs">Zvuk MPEG-4</comment>
<comment xml:lang="de">MPEG-4-Audio</comment>
<comment xml:lang="es">Audio MPEG-4</comment>
<comment xml:lang="eu">MPEG-4 audioa</comment>
<comment xml:lang="hu">MPEG-4-hang</comment>
<comment xml:lang="it">Audio MPEG-4</comment>
<comment xml:lang="ko">MPEG-4 오디오</comment>
<comment xml:lang="nb">MPEG-4-lyd</comment>
<comment xml:lang="nn">MPEG-4-lyd</comment>
<comment xml:lang="sv">MPEG-4-ljud</comment>
<comment xml:lang="uk">Звук MPEG-4</comment>
<comment xml:lang="vi">Âm thanh MPEG-4</comment>
<alias type="audio/x-m4a"/>
<magic priority="50">
<match value="ftypM4A" type="string" offset="0"/> <!---- Should be 4 -->
</magic>
<glob pattern="*.m4a"/>
</mime-type>
you are correct sir, I was mistakenly looking at the video/m4a bits.
fixen in 0.18-r1
thanks for the report & fix