summaryrefslogtreecommitdiff
path: root/libavcodec/vda.h
diff options
context:
space:
mode:
authorSebastien Zwickert <dilaroga@free.fr>2011-11-14 21:01:21 +0100
committerSebastien Zwickert <dilaroga@free.fr>2011-11-14 22:24:02 +0100
commit9837442a397bb300ac8226472e1d65ce85f66119 (patch)
tree22afa9e0b18efdb51c4b3afa48a6f23245f74dfd /libavcodec/vda.h
parentc8136ebd6a64b2404f5b871b944133049422535a (diff)
vda: undef Picture.
Diffstat (limited to 'libavcodec/vda.h')
-rw-r--r--libavcodec/vda.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/vda.h b/libavcodec/vda.h
index ffdbea6f1d..e28a6a6148 100644
--- a/libavcodec/vda.h
+++ b/libavcodec/vda.h
@@ -29,11 +29,12 @@
// http://openradar.appspot.com/8026390
#undef __GNUC_STDC_INLINE__
-#define Picture QuickdrawPicture
-
#include <pthread.h>
#include "avcodec.h"
+
+#define Picture QuickdrawPicture
#include <VideoDecodeAcceleration/VDADecoder.h>
+#undef Picture
/**
* This structure is used to store a decoded frame information and data.