]> git.sesse.net Git - vlc/commitdiff
Tolerate vcdimager < 0.7.21. Patch thanks to Arwed v. Merkatz.
authorRocky Bernstein <rocky@videolan.org>
Tue, 18 May 2004 10:49:15 +0000 (10:49 +0000)
committerRocky Bernstein <rocky@videolan.org>
Tue, 18 May 2004 10:49:15 +0000 (10:49 +0000)
modules/access/vcdx/vcdplayer.h

index 600a121d24348c4a95c1d3ed461a240521150161..d75d0f67d54364f8b42fec07a9430feb5b4fcf83 100644 (file)
@@ -76,8 +76,13 @@ typedef struct thread_vcd_data_s
   int          cur_lid;                 /* LID that play item is in. Implies 
                                            PBC is on. VCDPLAYER_BAD_ENTRY if 
                                            not none or not in PBC */
+#if (defined LIBVCD_VERSION_NUM) && (LIBVCD_VERSION_NUM >= 21)
   PsdListDescriptor_t pxd;              /* If PBC is on, the relevant 
+                                            PSD/PLD */
+#else
+  PsdListDescriptor pxd;                /* If PBC is on, the relevant
                                            PSD/PLD */
+#endif
   int          pdi;                     /* current pld index of pxd. -1 if 
                                            no index*/
   vcdinfo_itemid_t loop_item;           /* Where do we loop back to?