[MPlayer-cvslog] r33888 - in trunk: Makefile gui/win32/playlist.c gui/win32/playlist.h

diego subversion at mplayerhq.hu
Fri Jul 22 00:24:57 CEST 2011


Author: diego
Date: Fri Jul 22 00:24:57 2011
New Revision: 33888

Log:
foo

Modified:
   trunk/Makefile
   trunk/gui/win32/playlist.c
   trunk/gui/win32/playlist.h

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Thu Jul 21 03:21:36 2011	(r33887)
+++ trunk/Makefile	Fri Jul 22 00:24:57 2011	(r33888)
@@ -720,20 +720,14 @@ DIRS =  . \
         input \
         libaf \
         libao2 \
-        libass \
-        libdvdcss \
-        libdvdnav \
-        libdvdnav/vm \
-        libdvdread4 \
         libmenu \
         libmpcodecs \
         libmpcodecs/native \
         libmpdemux \
-        libmpeg2 \
         libvo \
         loader \
-        loader/dshow \
         loader/dmo \
+        loader/dshow \
         loader/wine \
         mp3lib \
         osdep \
@@ -742,14 +736,22 @@ DIRS =  . \
         stream/librtsp \
         stream/realrtsp \
         sub \
-        tremor \
         TOOLS \
         vidix \
 
+ALL_DIRS = $(DIRS) \
+        libass \
+        libdvdcss \
+        libdvdnav \
+        libdvdnav/vm \
+        libdvdread4 \
+        libmpeg2 \
+        tremor \
+
 ALLHEADERS = $(foreach dir,$(DIRS),$(wildcard $(dir)/*.h))
 
 ADDSUFFIXES     = $(foreach suf,$(1),$(addsuffix $(suf),$(2)))
-ADD_ALL_DIRS    = $(call ADDSUFFIXES,$(1),$(DIRS))
+ADD_ALL_DIRS    = $(call ADDSUFFIXES,$(1),$(ALL_DIRS))
 ADD_ALL_EXESUFS = $(1) $(call ADDSUFFIXES,$(EXESUFS_ALL),$(1))
 
 

Modified: trunk/gui/win32/playlist.c
==============================================================================
--- trunk/gui/win32/playlist.c	Thu Jul 21 03:21:36 2011	(r33887)
+++ trunk/gui/win32/playlist.c	Fri Jul 22 00:24:57 2011	(r33888)
@@ -22,6 +22,7 @@
  */
 
 #include <windows.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include "mp_msg.h"
@@ -29,7 +30,7 @@
 
 /* TODO: implement sort_playlist */
 
-BOOL adddirtoplaylist(playlist_t *playlist, const char *path, BOOL recursive)
+bool adddirtoplaylist(playlist_t *playlist, const char *path, bool recursive)
 {
     HANDLE findHandle = INVALID_HANDLE_VALUE;
     WIN32_FIND_DATA finddata;

Modified: trunk/gui/win32/playlist.h
==============================================================================
--- trunk/gui/win32/playlist.h	Thu Jul 21 03:21:36 2011	(r33887)
+++ trunk/gui/win32/playlist.h	Fri Jul 22 00:24:57 2011	(r33888)
@@ -24,7 +24,7 @@
 #ifndef MPLAYER_GUI_PLAYLIST_H
 #define MPLAYER_GUI_PLAYLIST_H
 
-#include <windows.h>
+#include <stdbool.h>
 
 typedef struct
 {
@@ -56,6 +56,6 @@ struct playlist_t
 #define SORT_BYDURATION     4
 
 playlist_t *create_playlist(void);
-BOOL adddirtoplaylist(playlist_t *playlist, const char* path, BOOL recursive);
+bool adddirtoplaylist(playlist_t *playlist, const char* path, bool recursive);
 
 #endif /* MPLAYER_GUI_PLAYLIST_H */


More information about the MPlayer-cvslog mailing list