mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-01 02:00:50 +00:00
avfilter/vf_premultiply: remove redundant semicolons
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
7a9db61da3
commit
7d1b1b660b
@ -99,7 +99,7 @@ static void premultiply8yuv(const uint8_t *msrc, const uint8_t *asrc,
|
|||||||
|
|
||||||
for (y = 0; y < h; y++) {
|
for (y = 0; y < h; y++) {
|
||||||
for (x = 0; x < w; x++) {
|
for (x = 0; x < w; x++) {
|
||||||
dst[x] = ((((msrc[x] - 128) * (((asrc[x] >> 1) & 1) + asrc[x]))) >> 8) + 128;;
|
dst[x] = ((((msrc[x] - 128) * (((asrc[x] >> 1) & 1) + asrc[x]))) >> 8) + 128;
|
||||||
}
|
}
|
||||||
|
|
||||||
dst += dlinesize;
|
dst += dlinesize;
|
||||||
@ -165,7 +165,7 @@ static void premultiply16yuv(const uint8_t *mmsrc, const uint8_t *aasrc,
|
|||||||
|
|
||||||
for (y = 0; y < h; y++) {
|
for (y = 0; y < h; y++) {
|
||||||
for (x = 0; x < w; x++) {
|
for (x = 0; x < w; x++) {
|
||||||
dst[x] = ((((msrc[x] - half) * (((asrc[x] >> 1) & 1) + asrc[x]))) >> shift) + half;;
|
dst[x] = ((((msrc[x] - half) * (((asrc[x] >> 1) & 1) + asrc[x]))) >> shift) + half;
|
||||||
}
|
}
|
||||||
|
|
||||||
dst += dlinesize / 2;
|
dst += dlinesize / 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user