summaryrefslogtreecommitdiffstats
path: root/0001-fix-error-libraw_data_t-has-no-member-named-rawparam.patch
blob: 7768991da337d40aa8f377857c57eeda58c246b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 1226c5f394f644ed7e73f3c39fa48553388de48b Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Mon, 1 Jan 2024 09:00:14 +0100
Subject: [PATCH] fix error: 'libraw_data_t' has no member named 'rawparams'

---
 coders/dng.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/coders/dng.c b/coders/dng.c
index 55a1ca9a5..0a1eec8ea 100644
--- a/coders/dng.c
+++ b/coders/dng.c
@@ -327,7 +327,7 @@ static void SetLibRawParams(const ImageInfo *image_info,Image *image,
   const char
     *option;
 
-#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0,20)
+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0,21)
   raw_info->rawparams.max_raw_memory_mb=8192;
   option=GetImageOption(image_info,"dng:max-raw-memory");
   if (option != (const char *) NULL)
-- 
2.43.0