diff options
Diffstat (limited to 'release/plugins/sequence/color-correction-hsv.c')
-rw-r--r-- | release/plugins/sequence/color-correction-hsv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/plugins/sequence/color-correction-hsv.c b/release/plugins/sequence/color-correction-hsv.c index 120ca76bbe7..cff2f1aad82 100644 --- a/release/plugins/sequence/color-correction-hsv.c +++ b/release/plugins/sequence/color-correction-hsv.c @@ -187,12 +187,13 @@ void plugin_seq_doit(Cast *cast, float facf0, float facf1, int width, double gamma_table[256]; double uv_table[256]; float *destf = out->rect_float; - float *src1f = ibuf1->rect_float; + float *src1f; if (!ibuf1) return; dest= (char *) out->rect; src1= (char *) ibuf1->rect; + src1f= ibuf1->rect_float; for (y = 0; y < 256; y++) { float v = 1.0 * y / 255; |