]> git.sesse.net Git - vlc/commitdiff
vcdx: use ifdef instead of if.
authorRémi Duraffort <ivoire@videolan.org>
Wed, 11 Mar 2009 18:01:51 +0000 (19:01 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 12 Mar 2009 12:16:59 +0000 (13:16 +0100)
modules/access/vcdx/access.c
modules/access/vcdx/intf.h
modules/access/vcdx/vcd.h

index 017d7c934e0bf10e9675b27856cadb764477d60b..1274c728719c92af46f4747395cc7b645f77abf1 100644 (file)
@@ -512,7 +512,7 @@ VCDLIDs( access_t * p_access )
 
       vcdinfo_visit_lot (p_vcdplayer->vcd, false);
 
-#if FIXED
+#ifdef FIXED
     /*
        We need to change libvcdinfo to be more robust when there are
        problems reading the extended PSD. Given that area-highlighting and
@@ -544,7 +544,7 @@ VCDLIDs( access_t * p_access )
         TAB_APPEND( t->i_seekpoint, t->seekpoint, s );
     }
 
-#if DYNAMICALLY_ALLOCATED
+#ifdef DYNAMICALLY_ALLOCATED
     TAB_APPEND( p_vcdplayer->i_titles, p_vcdplayer->p_title, t );
 #else
     p_vcdplayer->p_title[p_vcdplayer->i_titles] = t;
@@ -958,13 +958,13 @@ VCDOpen ( vlc_object_t *p_this )
     free( p_access->psz_demux );
     p_access->psz_demux = strdup( "ps" );
 
-#if FIXED
+#ifdef FIXED
     if (play_single_item)
       VCDFixupPlayList( p_access, p_vcd, psz_source, &itemid,
                         play_single_item );
 #endif
 
-#if FIXED
+#ifdef FIXED
     p_vcdplayer->p_intf = intf_Create( p_access, "vcdx" );
     p_vcdplayer->p_intf->b_block = false;
 #endif
index 5a2f9499717e816ce01f4413e6dbba94a67a4994..44a568cbea24a20ee69d6997b6e39c313ad21286 100644 (file)
@@ -38,7 +38,7 @@ struct intf_sys_t
   mtime_t         m_still_time;      /* Time in microseconds remaining
                                          to wait in still frame.
                      */
-#if FINISHED
+#ifdef FINISHED
   vcdplay_ctrl_t      control;
 #else
   int                 control;
index 2331f9c2d4c583e12bf56a2eb18f4281ce973633..23685cfe8bd9ff448a216919643617b2f073b56c 100644 (file)
  *****************************************************************************/
 typedef struct
 {
-#if FINISHED
+#ifdef FINISHED
     vcdplay_ptr             vmg;
 #endif
     intf_thread_t *         p_intf;
 
-#if DEMUX_FINISHED
+#ifdef DEMUX_FINISHED
     int                     i_audio_nb;
     int                     i_spu_nb;
 #endif
@@ -44,7 +44,7 @@ typedef struct
     int                     i_still_time;
     bool              b_end_of_cell;
 
-#if FINISHED
+#ifdef FINISHED
     vcdplay_event_t         event;
     vcdplay_ctrl_t          control;
     vcdplay_highlight_t     hli;