bool for bScenecut needs stdbool.h?

Issue #178 resolved
Former user created an issue

On compiling libx265 followed by FFmpeg, the configure tests in FFmpeg show the new bool for bScenecut in x265.h to be an "unknown type name". Adding to the headers fixes this for me.

Environment: cross-compiling using mingw32-w64-x86_64-gcc version 5.2.0 with mingw-w64 version 4.0.4

--- source/x265.h.orig  2015-08-31 14:39:07.197126527 +0000
+++ source/x265.h       2015-08-31 14:39:26.953126527 +0000
@@ -25,6 +25,7 @@
 #define X265_H

 #include <stdint.h>
+#include <stdbool.h>
 #include "x265_config.h"

 #ifdef __cplusplus

Comments (3)

  1. Log in to comment