Selaa lähdekoodia

* Fix color conversion from grey to rgb. Fixes issue #40007

Michaël Van Canneyt 1 kuukausi sitten
vanhempi
commit
67caf32fec
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      packages/pasjpeg/src/jdcolor.pas

+ 1 - 1
packages/pasjpeg/src/jdcolor.pas

@@ -302,7 +302,7 @@ begin
   begin
     inptr := JSAMPLE_PTR(input_buf^[0]^[input_row]);
     Inc(input_row);
-    outptr := JSAMPLE_PTR(@output_buf^[0]);
+    outptr := JSAMPLE_PTR(output_buf^[0]);
     Inc(JSAMPROW_PTR(output_buf));
     for col := 0 to pred(num_cols) do
     begin