[FFmpeg-cvslog] r8979 - trunk/libavcodec/pcm.c

Ramiro Ribeiro Polla ramiro
Thu May 10 20:47:06 CEST 2007


M?ns Rullg?rd wrote:
> ramiro wrote:
>   
>> Author: ramiro
>> Date: Thu May 10 17:00:09 2007
>> New Revision: 8979
>>
>> Log:
>> Fix r8963
>>
>> Modified:
>>    trunk/libavcodec/pcm.c
>>
>> Modified: trunk/libavcodec/pcm.c
>> ==============================================================================
>> --- trunk/libavcodec/pcm.c	(original)
>> +++ trunk/libavcodec/pcm.c	Thu May 10 17:00:09 2007
>> @@ -177,8 +177,8 @@ static inline void encode_from16(int bps
>>      for(;n>0;n--) {
>>          register int v = *(*samples)++;
>>          v += usum;
>> -        if (le) AV_WL16(*dst, v);
>> -        else    AV_WB16(*dst, v);
>> +        if (le) {AV_WL16(*dst, v);}
>> +        else    {AV_WB16(*dst, v);}
>>     
>
> That is ugly.  Please revert it and fix intreadwrite.h.
>
>   
Done.




More information about the ffmpeg-cvslog mailing list