Commit 36e99b03 authored by Rocky Bernstein's avatar Rocky Bernstein

Change to facilitate compiling -mno-cygwin on cygwin and possibly other

OS builds.
parent 46a40729
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* using libcdio, libvcd and libvcdinfo * using libcdio, libvcd and libvcdinfo
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 Rocky Bernstein <rocky@panix.com> * Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
* $Id: vcdplayer.c,v 1.10 2003/12/20 15:25:32 rocky Exp $ * $Id$
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -61,10 +61,10 @@ vcdplayer_update_entry( input_thread_t * p_input, uint16_t ofs, ...@@ -61,10 +61,10 @@ vcdplayer_update_entry( input_thread_t * p_input, uint16_t ofs,
if ( ofs == VCDINFO_INVALID_OFFSET ) { if ( ofs == VCDINFO_INVALID_OFFSET ) {
*entry = VCDINFO_INVALID_ENTRY; *entry = VCDINFO_INVALID_ENTRY;
} else { } else {
vcdinfo_offset_t *off_t = vcdinfo_get_offset_t(p_vcd->vcd, ofs); vcdinfo_offset_t *off = vcdinfo_get_offset_t(p_vcd->vcd, ofs);
if (off_t != NULL) { if (off != NULL) {
*entry = off_t->lid; *entry = off->lid;
dbg_print(INPUT_DBG_PBC, "%s: LID %d\n", label, off_t->lid); dbg_print(INPUT_DBG_PBC, "%s: LID %d\n", label, off->lid);
} else } else
*entry = VCDINFO_INVALID_ENTRY; *entry = VCDINFO_INVALID_ENTRY;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment