[MPlayer-dev-eng] [PATCH] fix compilation with CONFIG_H264_DXVA2_HWACCEL

Zuxy Meng zuxy.meng at gmail.com
Thu Jan 21 04:05:19 CET 2010


2010/1/21 Andrew Wason <rectalogic at rectalogic.com>:
> Patch fixes mplayer build on OSX which is failing with:
>
> cc -DHAVE_AV_CONFIG_H -I.. -I..  -Wundef -Wdisabled-optimization
> -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall
> -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=core2
> -mtune=core2 -pipe -ffast-math -fomit-frame-pointer
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I.
> -DPIC  -I/usr/X11/include -I/opt/local/include/SDL -D_GNU_SOURCE=1
> -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include
> -c -o allcodecs.o allcodecs.c
> allcodecs.c: In function 'avcodec_register_all':
> allcodecs.c:58: error: 'CONFIG_H264_DXVA2_HWACCEL' undeclared (first
> use in this function)
> allcodecs.c:58: error: (Each undeclared identifier is reported only once
> allcodecs.c:58: error: for each function it appears in.)
> make[1]: *** [allcodecs.o] Error 1
> make: *** [libavcodec/libavcodec.a] Error 2

When will we turn these hard "#define XXX 0" on?

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list