aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-06-10 12:44:40 +0200
committerdec05eba <dec05eba@protonmail.com>2024-06-10 12:44:40 +0200
commitc17a717326d2cc1c0576e6dc9f2116e72e38b45a (patch)
treea132cd06c54a054ea7c0639427a28b4d1cf8f8f8 /src/utils.c
parent3f0a58a1e61de8094d9ebf9db320c01b59ab441f (diff)
Workaround amd driver bug: hevc ffmpeg/mesa misaligned resolution causing glitched video output on right/bottom side
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils.c b/src/utils.c
index b9995e8..8d726ef 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -453,7 +453,3 @@ bool gsr_card_path_get_render_path(const char *card_path, char *render_path) {
close(fd);
return false;
}
-
-int even_number_ceil(int value) {
- return value + (value & 1);
-}