video-converter: Fix undefined left shift
Cast value to target type
This commit is contained in:
parent
2cf5d596ee
commit
31d5ac15b2
@ -2175,7 +2175,7 @@ setup_borderline (GstVideoConverter * convert)
|
||||
u = CLAMP (u, 0, 255);
|
||||
v = CLAMP (v, 0, 255);
|
||||
|
||||
border_val = a | (y << 8) | (u << 16) | (v << 24);
|
||||
border_val = a | (y << 8) | (u << 16) | ((guint32) v << 24);
|
||||
} else {
|
||||
border_val = GINT32_FROM_BE (convert->border_argb);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user