diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c index bbb1d9f120..b108fb1529 100644 --- a/postproc/swscale_template.c +++ b/postproc/swscale_template.c @@ -1696,7 +1696,7 @@ static inline void RENAME(bgr24ToY)(uint8_t *dst, uint8_t *src, int width) int g= src[i*3+1]; int r= src[i*3+2]; - dst[i]= ((RY*r + GY*g + BY*b + (33<<(RGB2YUV_SHIFT-1)) )>>RGB2YUV_SHIFT) + dst[i]= ((RY*r + GY*g + BY*b + (33<<(RGB2YUV_SHIFT-1)) )>>RGB2YUV_SHIFT); } #endif }