diff mbox series

[FFmpeg-devel,2/2] avcodec/tiff: Remove unused function parameter

Message ID AS8P250MB074496F71DD12B7DB58624748F539@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State New
Headers show
Series [FFmpeg-devel,1/2] avcodec/tiff: Remove commented-out code | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 25, 2022, 6:24 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/tiff.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index fd9db18c0b..dc566d307d 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -1879,7 +1879,6 @@  static const float xyz2rgb[3][3] = {
 };
 
 static void camera_xyz_coeff(TiffContext *s,
-                             float rgb2cam[3][4],
                              double cam2xyz[4][3])
 {
     double cam2rgb[4][3], num;
@@ -2040,7 +2039,6 @@  again:
 
     if (is_dng) {
         double cam2xyz[4][3];
-        float cmatrix[3][4];
         float pmin = FLT_MAX;
         int bps;
 
@@ -2061,7 +2059,7 @@  again:
                 }
             }
 
-            camera_xyz_coeff(s, cmatrix, cam2xyz);
+            camera_xyz_coeff(s, cam2xyz);
         }
 
         for (int c = 0; c < 3; c++)