mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-26 20:50:34 +00:00
add ffmpeg bug fix
Signed-off-by: gao_ziyu <gaoziyu@huawei.com>
This commit is contained in:
parent
ce2d85904e
commit
deeb96cd5b
@ -101,9 +101,9 @@ const int *sws_getCoefficients(int colorspace)
|
||||
|
||||
#define PUTRGBA(dst, ysrc, asrc, i, s) \
|
||||
Y = ysrc[2 * i]; \
|
||||
dst[2 * i] = r[Y] + g[Y] + b[Y] + (asrc[2 * i] << s); \
|
||||
dst[2 * i] = r[Y] + g[Y] + b[Y] + ((uint32_t)asrc[2 * i] << s); \
|
||||
Y = ysrc[2 * i + 1]; \
|
||||
dst[2 * i + 1] = r[Y] + g[Y] + b[Y] + (asrc[2 * i + 1] << s);
|
||||
dst[2 * i + 1] = r[Y] + g[Y] + b[Y] + ((uint32_t)asrc[2 * i + 1] << s);
|
||||
|
||||
#define PUTRGB48(dst, src, i) \
|
||||
Y = src[ 2 * i]; \
|
||||
|
Loading…
Reference in New Issue
Block a user