[MPlayer-users] error: 'PIX_FMT_YUVA422P' undeclared here (not in a function)
Josh
joshf87 at live.com
Wed May 9 07:09:23 CEST 2012
On 5/9/2012 01:00, Josh wrote:
> Got a compile error with r34893 and MinGW (mingw.org/gcc 4.6.2) under
> windows. Using FFmpeg latest as of this post.
>
> ./configure
> --extra-cflags="-I/E/Buildsys/MinGW/msys/home/Joshua/mplayer/live
> -DFRIBIDI_ENTRY=""" --prefix=e:/buildsys/release/mplayer-r34894
> --enable-static --enable-runtime-cpudetection --enable-mng
> --disable-mp3lib --disable-libmpeg2-internal --disable-tv
> --disable-vidix --disable-faac-lavc
>
> cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
> -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes
> -Wdisabled-optimization -Wno-pointer-sign
> -Wdeclaration-after-statement -std=gnu99
> -Werror-implicit-function-declaration -O4 -march=i486 -mtune=generic
> -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -Ilibdvdread4 -I. -Iffmpeg
> -I/E/Buildsys/MinGW/msys/home/Joshua/mplayer/live -DFRIBIDI_ENTRY=
> -fno-common -I/mingw/include/freetype2 -I/mingw/include
> -IE:/Buildsys/MinGW/include -c -o fmt-conversion.o fmt-conversion.c
> fmt-conversion.c:68:22: error: 'PIX_FMT_YUVA422P' undeclared here (not
> in a function)
> make: *** [fmt-conversion.o] Error 1
>
> Already done a 'make distclean' and attempted again with same error.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
>
I added 'PIX_FMT_YUVA422P,' to ffmpeg\libavutil\pixfmt.h. Compiles now.
More information about the MPlayer-users
mailing list