Line 0
Link Here
|
|
|
1 |
Use FreeBSD's MD5-implementation instead of yet another bundled one. |
2 |
|
3 |
-mi |
4 |
|
5 |
--- common/CMakeLists.txt 2016-01-25 00:16:50.000000000 -0500 |
6 |
+++ common/CMakeLists.txt 2016-02-02 17:57:52.620700000 -0500 |
7 |
@@ -109,5 +109,4 @@ |
8 |
threadpool.cpp threadpool.h |
9 |
wavefront.h wavefront.cpp |
10 |
- md5.cpp md5.h |
11 |
bitstream.h bitstream.cpp |
12 |
yuv.cpp yuv.h |
13 |
--- common/picyuv.h 2016-01-25 00:16:50.000000000 -0500 |
14 |
+++ common/picyuv.h 2016-02-02 21:52:24.690114000 -0500 |
15 |
@@ -25,6 +25,8 @@ |
16 |
#define X265_PICYUV_H |
17 |
|
18 |
+#include <sys/types.h> |
19 |
+#include <md5.h> |
20 |
+ |
21 |
#include "common.h" |
22 |
-#include "md5.h" |
23 |
#include "x265.h" |
24 |
|
25 |
--- encoder/frameencoder.cpp 2016-01-25 00:16:50.000000000 -0500 |
26 |
+++ encoder/frameencoder.cpp 2016-02-02 18:06:58.918647000 -0500 |
27 |
@@ -667,5 +667,5 @@ |
28 |
m_seiReconPictureDigest.m_method = SEIDecodedPictureHash::MD5; |
29 |
for (int i = 0; i < planes; i++) |
30 |
- MD5Final(&m_state[i], m_seiReconPictureDigest.m_digest[i]); |
31 |
+ MD5Final(m_seiReconPictureDigest.m_digest[i], &m_state[i]); |
32 |
} |
33 |
else if (m_param->decodedPictureHashSEI == 2) |