shithub: openh264

Download patch

ref: bcd08d87137e1215b441a9f4fe192e6fe3f390ac
parent: e366f5779b932c7412bca3357d47545b23682723
author: Martin Storsjö <martin@martin.st>
date: Sat Feb 8 09:37:26 EST 2014

Include stdbool.h in the public interface headers in C mode

This avoids requiring the callers to explicitly include it before
including codec_api.h

--- a/codec/api/svc/codec_api.h
+++ b/codec/api/svc/codec_api.h
@@ -33,6 +33,10 @@
 #ifndef WELS_VIDEO_CODEC_SVC_API_H__
 #define WELS_VIDEO_CODEC_SVC_API_H__
 
+#ifndef __cplusplus
+#include <stdbool.h>
+#endif
+
 #include "codec_app_def.h"
 #include "codec_def.h"