On Aug 13, 2012, at 8:42 PM, Sebastien Zwickert wrote:

> ---
> libavcodec/Makefile       |    2 -
> libavcodec/vda.c          |  303 ---------------------------------------------
> libavcodec/vda_h264.c     |  289 ++++++++++++++++++++++++++++++++++++++++++-
> libavcodec/vda_internal.h |   46 -------
> 4 files changed, 284 insertions(+), 356 deletions(-)
> delete mode 100644 libavcodec/vda.c
> delete mode 100644 libavcodec/vda_internal.h
> 
> diff --git a/libavcodec/Makefile b/libavcodec/Makefile
> index f2e4d71..2491bc4 100644
> --- a/libavcodec/Makefile
> +++ b/libavcodec/Makefile
> @@ -56,7 +56,6 @@ RDFT-OBJS-$(CONFIG_HARDCODED_TABLES)   += sin_tables.o
> OBJS-$(CONFIG_RDFT)                    += rdft.o $(RDFT-OBJS-yes)
> OBJS-$(CONFIG_SINEWIN)                 += sinewin.o
> OBJS-$(CONFIG_VAAPI)                   += vaapi.o
> -OBJS-$(CONFIG_VDA)                     += vda.o
> OBJS-$(CONFIG_VDPAU)                   += vdpau.o
> OBJS-$(CONFIG_VP3DSP)                  += vp3dsp.o
> 
> @@ -714,7 +713,6 @@ SKIPHEADERS-$(CONFIG_DXVA2)            += dxva2.h 
> dxva2_internal.h
> SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER)  += libschroedinger.h
> SKIPHEADERS-$(CONFIG_MPEG_XVMC_DECODER) += xvmc.h
> SKIPHEADERS-$(CONFIG_VAAPI)            += vaapi_internal.h
> -SKIPHEADERS-$(CONFIG_VDA)              += vda.h vda_internal.h
> SKIPHEADERS-$(CONFIG_VDPAU)            += vdpau.h
> SKIPHEADERS-$(HAVE_W32THREADS)         += w32pthreads.h

Ooops, this broke checkheaders on non-OSX systems.
I missed that : vda.h should be skipped when VDA is not available.

I'll send a new patch to fix this.

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

Reply via email to