if test "${enable_vcdx}" != "no"
then
- PKG_CHECK_MODULES(VCDINFO, libvcdinfo >= 0.7.20,
+ PKG_CHECK_MODULES(VCDINFO, libvcdinfo >= 0.7.21,
[enable_vcd="no"
AC_DEFINE(HAVE_VCDX, [],
[Define for the VCD plugin using libcdio/libvcdinfo])
vcdinfo_itemid_t itemid;
+ if (!p_vcd) {
+ dbg_print( (INPUT_DBG_CALL|INPUT_DBG_PBC),
+ "null p_vcd" );
+ return VLC_EGENERIC;
+ }
+
+
dbg_print( (INPUT_DBG_CALL|INPUT_DBG_PBC),
"current: %d" , p_vcd->play_item.num);
if (vcdplayer_pbc_is_on(p_vcd)) {
lid_t lid=vcdinfo_get_multi_default_lid(p_vcd->vcd, p_vcd->cur_lid,
- itemid.num);
+ p_vcd->cur_lsn);
if (VCDINFO_INVALID_LID != lid) {
itemid.num = lid;
/*****************************************************************************
- * Copyright (C) 2003 Rocky Bernstein (for VideoLAN)
- * $Id: vcdplayer.h,v 1.5 2004/01/03 20:43:24 rocky Exp $
+ * Copyright (C) 2003, 2004 Rocky Bernstein (for VideoLAN)
+ * $Id$
*
* Authors: Rocky Bernstein <rocky@panix.com>
*
int cur_lid; /* LID that play item is in. Implies
PBC is on. VCDPLAYER_BAD_ENTRY if
not none or not in PBC */
- PsdListDescriptor pxd; /* If PBC is on, the relevant
+ PsdListDescriptor_t pxd; /* If PBC is on, the relevant
PSD/PLD */
int pdi; /* current pld index of pxd. -1 if
no index*/