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

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Sep 25 21:24:00 EEST 2022


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/tiff.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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++)
-- 
2.34.1



More information about the ffmpeg-devel mailing list