[Ffmpeg-cvslog] r6963 - trunk/libavformat/riff.c
Baptiste Coudurier
baptiste.coudurier
Sun Nov 12 13:48:27 CET 2006
Hi
Michael Niedermayer a ?crit :
> Hi
>
> On Sat, Nov 11, 2006 at 06:15:45PM +0000, M?ns Rullg?rd wrote:
>> Michael Niedermayer <michaelni at gmx.at> writes:
>>
>>> Hi
>>>
>>> On Sat, Nov 11, 2006 at 02:01:34PM +0100, Baptiste Coudurier wrote:
>>>> Hi
>>>>
>>>> Michael Niedermayer a ?crit :
>>>>> Hi
>>>>>
>>>>> On Sat, Nov 11, 2006 at 01:22:08AM +0000, M?ns Rullg?rd wrote:
>>>>>> michael <subversion at mplayerhq.hu> writes:
>>>>>>
>>>>>>> Author: michael
>>>>>>> Date: Sat Nov 11 01:29:49 2006
>>>>>>> New Revision: 6963
>>>>>>>
>>>>>>> Modified:
>>>>>>> trunk/libavformat/riff.c
>>>>>>>
>>>>>>> Log:
>>>>>>> libnut uses "MP3 " for mp3
>>>>>>>
>>>>>>> Modified: trunk/libavformat/riff.c
>>>>>>> =======================================================================
>>>>>>> --- trunk/libavformat/riff.c (original)
>>>>>>> +++ trunk/libavformat/riff.c Sat Nov 11 01:29:49 2006
>>>>>>> @@ -200,6 +200,7 @@
>>>>>>> // for NuppelVideo (nuv.c)
>>>>>>> { CODEC_ID_PCM_S16LE, MKTAG('R', 'A', 'W', 'A') },
>>>>>>> { CODEC_ID_MP3, MKTAG('L', 'A', 'M', 'E') },
>>>>>>> + { CODEC_ID_MP3, MKTAG('M', 'P', '3', ' ') },
>>>>>> Nooooo. We were trying to get rid of those invalid bogus tags from
>>>>>> riff.c. Don't add more of them.
>>>>> nut per spec uses the avi-riff tags to identify codecs, libnut uses
>>>>> "MP3 " ...
>>>>> ask oded why
>>>>> but the nut tags do belong in riff.c IMO, furthermore there is no harm
>>>>> from this wav/avi cant use them anyway as they are too long, also they
>>>>> are at the end so they wont be selected by default ...
>>>>>
>>>> IMHO, nut uses fourcc, aka 32 bit int that is supposed to identify a
>>>> codec, not avi-riff tags,
>>> wrong, to quote the spec:
>>> fourcc
>>> identification for the codec
>>> example: "H264"
>>> MUST contain 2 or 4 bytes, note, this might be increased in the future
>>> if needed
>>> the id values used are the same as in avi, so if a codec uses a specific
>>> fourcc in avi then the same fourcc MUST be used here
>> That's about as vague as it gets, and is furthermore completely
>> irrelevant. The tables in riff.c are for AVI and WAV. AVI and WAV
>> use 16-bit tags for audio. Hence, "MP3 " is invalid in that table.
>> If NUT wants to use 32-bit tags for audio, thats fine. Just don't
>> claim they are the same as AVI, and don't pollute the RIFF tables with
>> them.
>
> ive heared your oppinion, ive not heared any reasoning to support it, not
> even a vague one and iam sure you heared that i rejected a table split based
> on philosphical reasoning, so i guess that leaves you with either
> showing some end user vissible advantage or to fork
>
> [...]
This is becoming childish.
Why not merging all codec tables in riff.c then ?
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
More information about the ffmpeg-cvslog
mailing list