[MPlayer-dev-eng] [PATCH] Fix build

Erik Auerswald auerswal at unix-ag.uni-kl.de
Sun Mar 2 13:16:26 CET 2014


Hi,

svn revision 36959 missed one instance of VOCTRL_GUI_NOWINDOW. This 
breaks building MPlayer from a fresh svn checkout (with fresh ffmpeg clone):

cc -MMD -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 
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. 
-Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math 
-fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4  -fpie -DPIC 
-D_REENTRANT -I/usr/include/directfb -I/usr/include/     -D_REENTRANT 
  -I/usr/include/freetype2 -I/usr/include/orc-0.4 
-I/usr/include/schroedinger-1.0   -c -o libvo/vo_dfbmga.o libvo/vo_dfbmga.c
libvo/vo_dfbmga.c: In function 'control':
libvo/vo_dfbmga.c:1412:11: error: 'VOCTRL_GUI_NOWINDOW' undeclared 
(first use in this function)
libvo/vo_dfbmga.c:1412:11: note: each undeclared identifier is reported 
only once for each function it appears in
make: *** [libvo/vo_dfbmga.o] Error 1
make: *** Waiting for unfinished jobs....


The attached patch fixes the build.

Thanks,
Erik
-------------- next part --------------
Index: libvo/vo_dfbmga.c
===================================================================
--- libvo/vo_dfbmga.c	(revision 36962)
+++ libvo/vo_dfbmga.c	(working copy)
@@ -1409,7 +1409,6 @@
 {
      switch (request) {
      case VOCTRL_GUISUPPORT:
-     case VOCTRL_GUI_NOWINDOW:
           return VO_TRUE;
 
      case VOCTRL_QUERY_FORMAT:


More information about the MPlayer-dev-eng mailing list