summaryrefslogtreecommitdiff
path: root/Source/3rdParty/SDL2/src/video/SDL_yuv_c.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-31 18:38:35 +0800
committerchai <chaifix@163.com>2019-01-31 18:38:35 +0800
commit2ec55fd974a63b705a4777c256d2222c874fa043 (patch)
tree48f1fea59ee9fc713a28a9aac3f05b98dc5ae66f /Source/3rdParty/SDL2/src/video/SDL_yuv_c.h
parentc581dfbf1e849f393861d15e82aa6446c0c1c310 (diff)
*SDL project
Diffstat (limited to 'Source/3rdParty/SDL2/src/video/SDL_yuv_c.h')
-rw-r--r--Source/3rdParty/SDL2/src/video/SDL_yuv_c.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/3rdParty/SDL2/src/video/SDL_yuv_c.h b/Source/3rdParty/SDL2/src/video/SDL_yuv_c.h
index 6fe02b0..192bd2c 100644
--- a/Source/3rdParty/SDL2/src/video/SDL_yuv_c.h
+++ b/Source/3rdParty/SDL2/src/video/SDL_yuv_c.h
@@ -18,6 +18,10 @@
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
+
+#ifndef SDL_yuv_c_h_
+#define SDL_yuv_c_h_
+
#include "../SDL_internal.h"
@@ -27,4 +31,6 @@ extern int SDL_ConvertPixels_YUV_to_RGB(int width, int height, Uint32 src_format
extern int SDL_ConvertPixels_RGB_to_YUV(int width, int height, Uint32 src_format, const void *src, int src_pitch, Uint32 dst_format, void *dst, int dst_pitch);
extern int SDL_ConvertPixels_YUV_to_YUV(int width, int height, Uint32 src_format, const void *src, int src_pitch, Uint32 dst_format, void *dst, int dst_pitch);
+#endif /* SDL_yuv_c_h_ */
+
/* vi: set ts=4 sw=4 expandtab: */