commit 925b279f7266a95794b599b481be9f6af7013d1a
Author:     Mattias Andrée <[email protected]>
AuthorDate: Mon May 1 22:13:09 2017 +0200
Commit:     Mattias Andrée <[email protected]>
CommitDate: Mon May 1 22:13:09 2017 +0200

    blind-to-image: remove left over parameters
    
    Signed-off-by: Mattias Andrée <[email protected]>

diff --git a/src/blind-to-image.c b/src/blind-to-image.c
index 7ea1586..534eef3 100644
--- a/src/blind-to-image.c
+++ b/src/blind-to-image.c
@@ -18,7 +18,7 @@ static unsigned long long int max;
 static int bytes;
 
 static void
-write_pixel(double R, double G, double B, double A, int bytes, unsigned long 
long int max)
+write_pixel(double R, double G, double B, double A)
 {
        unsigned long long int colours[4];
        unsigned char buf[4 * 8];
@@ -78,7 +78,7 @@ process_xyza(struct stream *stream, size_t n)
                }
 
                ciexyz_to_srgb(X, Y, Z, &R, &G, &B);
-               write_pixel(R, G, B, A, bytes, max);
+               write_pixel(R, G, B, A);
        }
 }
 

Reply via email to