[FFmpeg-devel] [PATCH] change AC3 to AC-3

The Wanderer inverseparadox
Sun Aug 3 17:43:21 CEST 2008


Justin Ruggles wrote:

> Diego Biurrun wrote:
> 
>> On Sat, Aug 02, 2008 at 11:54:27PM -0400, Justin Ruggles wrote:
>> 
>>> This is a cosmetic patch to change all "AC3" and "ac3" to "AC-3".
>>> It also changes "E-AC3", "EAC3", etc... to "E-AC-3".
>> 
>> I wonder why you did not commit this directly?  You are the
>> maintainer of all those files.  All of this looks OK to me.  Since
>> you posted a patch, you will now get a review ;)
>> 
>>> --- libavcodec/aac_ac3_parser.c	(revision 14516)
>>> +++ libavcodec/aac_ac3_parser.c	(working copy)
>>> @@ -1,5 +1,5 @@
>>>  /*
>>> - * Common AAC and AC3 parser
>>> + * Common AAC and AC-3 parser
>> 
>> Lowercase this while you're at it.
>> 
>>> @@ -21,7 +21,7 @@
>>>  
>>>   * @file ac3tab.c
>>> - * tables taken directly from AC3 spec.
>>> + * tables taken directly from AC-3 spec.
>> 
>> from the, capitalize
>> 
>>> @@ -21,7 +21,7 @@
>>>  
>>>   * @file ac3enc.c
>>> - * The simplest AC3 encoder.
>>> + * The simplest AC-3 encoder.
>> 
>> lowercase, drop period
> 
> I don't quite understand your logic here.  All of these are
> incomplete sentences, but you're suggesting to make some lowercase
> w/o a period and some uppercase w/ a period.

The difference is that e.g. the "tables taken directly from" entry has a
verb, "taken", whereas the others do not. As I understand the issue, the
rule used hereabouts - which was put in place by Diego, but does not
appear to be the subject of much objection - is that a sentence or
fragment with a verb gets the capital and the period, but a fragment
without a verb does not get either.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.




More information about the ffmpeg-devel mailing list