File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ ocv_warnings_disable(CMAKE_C_FLAGS -Wunused-parameter -Wsign-compare -Wshorten-6
4
4
5
5
set (VERSION_MAJOR 2)
6
6
set (VERSION_MINOR 0)
7
- set (VERSION_REVISION 4 )
7
+ set (VERSION_REVISION 5 )
8
8
set (VERSION ${VERSION_MAJOR} .${VERSION_MINOR} .${VERSION_REVISION} )
9
- set (LIBJPEG_TURBO_VERSION_NUMBER 2000004 )
9
+ set (LIBJPEG_TURBO_VERSION_NUMBER 2000005 )
10
10
11
11
string (TIMESTAMP BUILD "opencv-${OPENCV_VERSION} -libjpeg-turbo" )
12
12
if (CMAKE_BUILD_TYPE STREQUAL "Debug" )
@@ -65,6 +65,8 @@ set(JPEG_LIB_VERSION 62)
65
65
# OpenCV
66
66
set (JPEG_LIB_VERSION "${VERSION} -${JPEG_LIB_VERSION} " PARENT_SCOPE)
67
67
68
+ set (THREAD_LOCAL "" ) # WITH_TURBOJPEG is not used
69
+
68
70
if (MSVC )
69
71
add_definitions (-W3 -wd4996 -wd4018)
70
72
endif ()
Original file line number Diff line number Diff line change 15
15
#endif
16
16
#endif
17
17
18
+ /* How to obtain thread-local storage */
19
+ #define THREAD_LOCAL @THREAD_LOCAL@
20
+
18
21
/* Define to the full name of this package. */
19
22
#define PACKAGE_NAME "@CMAKE_PROJECT_NAME@"
20
23
Original file line number Diff line number Diff line change @@ -143,8 +143,7 @@ empty_mem_output_buffer(j_compress_ptr cinfo)
143
143
144
144
MEMCOPY (nextbuffer , dest -> buffer , dest -> bufsize );
145
145
146
- if (dest -> newbuffer != NULL )
147
- free (dest -> newbuffer );
146
+ free (dest -> newbuffer );
148
147
149
148
dest -> newbuffer = nextbuffer ;
150
149
Original file line number Diff line number Diff line change 4
4
* This file was part of the Independent JPEG Group's software:
5
5
* Copyright (C) 1991-2012, Thomas G. Lane, Guido Vollbeding.
6
6
* libjpeg-turbo Modifications:
7
- * Copyright (C) 2010, 2012-2019 , D. R. Commander.
7
+ * Copyright (C) 2010, 2012-2020 , D. R. Commander.
8
8
* For conditions of distribution and use, see the accompanying README.ijg
9
9
* file.
10
10
*
36
36
*/
37
37
38
38
#define JCOPYRIGHT \
39
- "Copyright (C) 2009-2019 D. R. Commander\n" \
39
+ "Copyright (C) 2009-2020 D. R. Commander\n" \
40
40
"Copyright (C) 2011-2016 Siarhei Siamashka\n" \
41
41
"Copyright (C) 2015-2016, 2018 Matthieu Darbois\n" \
42
42
"Copyright (C) 2015 Intel Corporation\n" \
49
49
"Copyright (C) 1991-2016 Thomas G. Lane, Guido Vollbeding"
50
50
51
51
#define JCOPYRIGHT_SHORT \
52
- "Copyright (C) 1991-2019 The libjpeg-turbo Project and many others"
52
+ "Copyright (C) 1991-2020 The libjpeg-turbo Project and many others"
You can’t perform that action at this time.
0 commit comments