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

Måns Rullgård mans
Thu May 10 17:05:03 CEST 2007


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.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list