vda: undef Picture.
authorSebastien Zwickert <dilaroga@free.fr>
Mon, 14 Nov 2011 20:01:21 +0000 (21:01 +0100)
committerSebastien Zwickert <dilaroga@free.fr>
Mon, 14 Nov 2011 21:24:02 +0000 (22:24 +0100)
libavcodec/vda.h

index ffdbea6..e28a6a6 100644 (file)
 // 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.