[MPlayer-cvslog] r23063 - trunk/vidix

ben subversion at mplayerhq.hu
Sun Apr 22 15:28:54 CEST 2007


Author: ben
Date: Sun Apr 22 15:28:54 2007
New Revision: 23063

Log:
kill a few warnings

Modified:
   trunk/vidix/dha.c

Modified: trunk/vidix/dha.c
==============================================================================
--- trunk/vidix/dha.c	(original)
+++ trunk/vidix/dha.c	Sun Apr 22 15:28:54 2007
@@ -122,7 +122,9 @@ dha_helper_way:
   }
 #endif
 
+#ifdef CONFIG_DHAHELPER
 dev_mem_way:
+#endif
 #ifdef DEV_APERTURE
   if ((mem_fd = open(DEV_APERTURE, O_RDWR)) == -1)
 	perror("libdha: opening aperture failed");
@@ -143,7 +145,9 @@ dev_mem_way:
     return MAP_FAILED;
   }
 
+#ifdef CONFIG_DHAHELPER
 mmap:
+#endif
   return mmap(0,size,PROT_READ|PROT_WRITE,MAP_SHARED,mem_fd,base);
 }
 



More information about the MPlayer-cvslog mailing list