summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.