From 29742cb950ecd54dc1bc13952bdc0a17b1b72096 Mon Sep 17 00:00:00 2001 From: Rocky Bernstein Date: Thu, 11 Mar 2004 08:08:48 +0000 Subject: Small changes to facilitate -mno-cygwin under cygwin and possibly others. CVS patchset: 6242 CVS date: 2004/03/11 08:08:48 --- src/input/vcd/vcdplayer.c | 12 ++++++------ 1 file 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 @@ -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; ilid; - 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; } -- cgit v1.2.3