On Tue, Nov 08, 2011 at 10:40:42PM +0100, Sebastien Zwickert wrote:
> 
> --- /dev/null
> +++ b/libavcodec/vda.h
> @@ -0,0 +1,137 @@
> +
> +#ifndef AVCODEC_VDA_H
> +#define AVCODEC_VDA_H
> +
> +#include <stdint.h>
> +
> +// emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes
> +// http://openradar.appspot.com/8026390
> +#undef __GNUC_STDC_INLINE__
> +
> +#define Picture QuickdrawPicture
> +#include <VideoDecodeAcceleration/VDADecoder.h>
> +#undef Picture
> +
> +#include "avcodec.h"

The avcodec.h #include is unnecessary - once you drop that I think you
can lose the #define/#undef hack as well.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to