mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
video-converter: Fix undefined left shift
Cast value to target type
This commit is contained in:
parent
2cf5d596ee
commit
31d5ac15b2
1 changed files with 1 additions and 1 deletions
|
@ -2175,7 +2175,7 @@ setup_borderline (GstVideoConverter * convert)
|
||||||
u = CLAMP (u, 0, 255);
|
u = CLAMP (u, 0, 255);
|
||||||
v = CLAMP (v, 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 {
|
} else {
|
||||||
border_val = GINT32_FROM_BE (convert->border_argb);
|
border_val = GINT32_FROM_BE (convert->border_argb);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue