summaryrefslogtreecommitdiff
path: root/libswscale
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-08-06 16:49:32 +0300
committerMartin Storsjö <martin@martin.st>2012-08-15 22:32:06 +0300
commit1d9c2dc89a2302076a68b4a3ae3639abbb1a502d (patch)
tree2c422621a5a9ffd2e0aac646228b186221aede2b /libswscale
parent93f257db6b818896e58c708d3c2ec4b8cb0c7b00 (diff)
downloadffmpeg-1d9c2dc89a2302076a68b4a3ae3639abbb1a502d.tar.gz
Don't include common.h from avutil.h
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/colorspace-test.c1
-rw-r--r--libswscale/swscale.h2
-rw-r--r--libswscale/swscale_internal.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/libswscale/colorspace-test.c b/libswscale/colorspace-test.c
index 135924c1ab..1c4cc2ace7 100644
--- a/libswscale/colorspace-test.c
+++ b/libswscale/colorspace-test.c
@@ -26,6 +26,7 @@
#include "swscale.h"
#include "rgb2rgb.h"
+#include "libavutil/mem.h"
#define SIZE 1000
#define srcByte 0x55
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index c3efd48b1a..3b304d5629 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -27,6 +27,8 @@
* external api for the swscale stuff
*/
+#include <stdint.h>
+
#include "libavutil/avutil.h"
#include "libavutil/log.h"
#include "libavutil/pixfmt.h"
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 2a7d2dbd1d..9583fb9464 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -28,6 +28,7 @@
#endif
#include "libavutil/avutil.h"
+#include "libavutil/common.h"
#include "libavutil/log.h"
#include "libavutil/pixfmt.h"
#include "libavutil/pixdesc.h"