[FFmpeg-devel] [PATCH] hevcdsp: include stddef.h for ptrdiff_t definition

James Almer jamrial at gmail.com
Sat May 10 18:21:28 CEST 2014


Including stdint.h was enough for systems like Mingw, but apparently not for Linux.
This should fix make checkheaders failures on every platform

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavcodec/x86/hevcdsp.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/x86/hevcdsp.h b/libavcodec/x86/hevcdsp.h
index 0a52a95..c5a64c7 100644
--- a/libavcodec/x86/hevcdsp.h
+++ b/libavcodec/x86/hevcdsp.h
@@ -25,6 +25,7 @@
 #ifndef AVCODEC_X86_HEVCDSP_H
 #define AVCODEC_X86_HEVCDSP_H
 
+#include <stddef.h>
 #include <stdint.h>
 
 #define PEL_LINK(dst, idx1, idx2, idx3, name, D, opt) \
-- 
1.8.5.5



More information about the ffmpeg-devel mailing list