[FFmpeg-cvslog] r12278 - trunk/libavcodec/libamr.c

Benoit Fouet benoit.fouet
Mon Mar 3 09:19:59 CET 2008


Rich Felker wrote:
> On Fri, Feb 29, 2008 at 09:01:01AM +0100, benoit wrote:
>   
>> Modified: trunk/libavcodec/libamr.c
>> ==============================================================================
>> --- trunk/libavcodec/libamr.c	(original)
>> +++ trunk/libavcodec/libamr.c	Fri Feb 29 09:01:01 2008
>> @@ -444,7 +444,7 @@ static int amr_nb_decode_frame(AVCodecCo
>>  {
>>      AMRContext *s = avctx->priv_data;
>>      uint8_t*amrData=buf;
>> -    static short block_size[16]={ 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0 };
>> +    static const uint8_t block_size[16]={ 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0 };
>>     
>
> The explicit zeros at the end are also unnecessary and make the line >80 characters.
>   
>
>   

a patch to clean this file is welcome...

-- 
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-cvslog mailing list