summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRocky Bernstein <rockyb@users.sourceforge.net>2004-03-11 08:08:48 +0000
committerRocky Bernstein <rockyb@users.sourceforge.net>2004-03-11 08:08:48 +0000
commit29742cb950ecd54dc1bc13952bdc0a17b1b72096 (patch)
treea687662e0a57dd67d56e3fb63524d18961baa087
parent0627ab6d893c54b95bd8fb7d1135dd1182488d3e (diff)
downloadxine-lib-29742cb950ecd54dc1bc13952bdc0a17b1b72096.tar.gz
xine-lib-29742cb950ecd54dc1bc13952bdc0a17b1b72096.tar.bz2
Small changes to facilitate -mno-cygwin under cygwin and possibly others.
CVS patchset: 6242 CVS date: 2004/03/11 08:08:48
-rw-r--r--src/input/vcd/vcdplayer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/input/vcd/vcdplayer.c b/src/input/vcd/vcdplayer.c
index b14db32ef..c2ea8e6cd 100644
--- a/src/input/vcd/vcdplayer.c
+++ b/src/input/vcd/vcdplayer.c
@@ -1,5 +1,5 @@
/*
- $Id: vcdplayer.c,v 1.3 2004/02/19 02:31:22 rockyb Exp $
+ $Id: vcdplayer.c,v 1.4 2004/03/11 08:08:48 rockyb Exp $
Copyright (C) 2002,2003 Rocky Bernstein <rocky@panix.com>
@@ -150,7 +150,7 @@ vcdplayer_format_str(vcdplayer_input_t *this, const char format_str[])
size_t format_len = strlen(format_str);
vcdinfo_obj_t *obj = this->vcd;
- bzero(temp_str, TEMP_STR_SIZE);
+ memset(temp_str, 0, TEMP_STR_SIZE);
for (i=0; i<format_len; i++) {
@@ -277,10 +277,10 @@ _vcdplayer_update_entry(vcdinfo_obj_t *obj, uint16_t ofs, uint16_t *entry,
if ( ofs == VCDINFO_INVALID_OFFSET ) {
*entry = VCDINFO_INVALID_ENTRY;
} else {
- vcdinfo_offset_t *off_t = vcdinfo_get_offset_t(obj, ofs);
- if (off_t != NULL) {
- *entry = off_t->lid;
- dbg_print(INPUT_DBG_PBC, "%s: %d\n", label, off_t->lid);
+ vcdinfo_offset_t *off = vcdinfo_get_offset_t(obj, ofs);
+ if (off != NULL) {
+ *entry = off->lid;
+ dbg_print(INPUT_DBG_PBC, "%s: %d\n", label, off->lid);
} else
*entry = VCDINFO_INVALID_ENTRY;
}