[FFmpeg-cvslog] r22036 - trunk/libavcodec/rectangle.h

Måns Rullgård mans
Wed Feb 24 22:12:31 CET 2010


michael <subversion at mplayerhq.hu> writes:

> Author: michael
> Date: Wed Feb 24 21:37:58 2010
> New Revision: 22036
>
> Log:
> Extend fill_rectangle() support for 16bit
>
>      }else if(w==16){
> -        *(uint32_t*)(p + 0+0*stride)= val;
> -        *(uint32_t*)(p + 4+0*stride)= val;
> -        *(uint32_t*)(p + 8+0*stride)= val;
> -        *(uint32_t*)(p +12+0*stride)= val;
> -        *(uint32_t*)(p + 0+1*stride)= val;
> -        *(uint32_t*)(p + 4+1*stride)= val;
> -        *(uint32_t*)(p + 8+1*stride)= val;
> -        *(uint32_t*)(p +12+1*stride)= val;
> +        *(uint32_t*)(p + 0+0*stride)= v;
> +        *(uint32_t*)(p + 4+0*stride)= v;
> +        *(uint32_t*)(p + 8+0*stride)= v;
> +        *(uint32_t*)(p +12+0*stride)= v;
> +        *(uint32_t*)(p + 0+1*stride)= v;
> +        *(uint32_t*)(p + 4+1*stride)= v;
> +        *(uint32_t*)(p + 8+1*stride)= v;
> +        *(uint32_t*)(p +12+1*stride)= v;

v is undeclared here on 32-bit.

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



More information about the ffmpeg-cvslog mailing list