aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/color_conversion.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/color_conversion.c b/src/color_conversion.c
index 1d70b9e..166ba90 100644
--- a/src/color_conversion.c
+++ b/src/color_conversion.c
@@ -465,6 +465,11 @@ void gsr_color_conversion_clear(gsr_color_conversion *self) {
color1[1] = 0.0f;
color1[2] = 0.0f;
color1[3] = 1.0f;
+
+ color2[0] = 0.0f;
+ color2[1] = 0.0f;
+ color2[2] = 0.0f;
+ color2[3] = 1.0f;
break;
}
case GSR_DESTINATION_COLOR_NV12: