Commit 44534710 authored by Rocky Bernstein's avatar Rocky Bernstein

vcdplayer.c: fix gcc 4-caught uninitialized variable.

vcd.c: more logical order of macros (I think)
parent 3f0b1c5a
......@@ -92,14 +92,14 @@ int E_(BlocksPerReadCallback) ( vlc_object_t *p_this, const char *psz_name,
*****************************************************************************/
vlc_module_begin();
add_usage_hint( N_("vcdx://[device-or-file][@{P,S,T}num]") );
set_description( _("Video CD (VCD 1.0, 1.1, 2.0, SVCD, HQVCD) input") );
set_capability( "access2", 55 /* slightly lower than vcd */ );
set_shortname( N_("(Super) Video CD"));
set_callbacks( VCDOpen, VCDClose );
set_description( _("Video CD (VCD 1.0, 1.1, 2.0, SVCD, HQVCD) input") );
add_usage_hint( N_("vcdx://[device-or-file][@{P,S,T}num]") );
add_shortcut( "vcdx" );
set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_ACCESS );
set_capability( "access2", 55 /* slightly lower than vcd */ );
set_callbacks( VCDOpen, VCDClose );
/* Configuration options */
add_integer ( MODULE_STRING "-debug", 0, NULL,
......
......@@ -695,6 +695,7 @@ vcdplayer_play_default( access_t * p_access )
dbg_print(INPUT_DBG_PBC, "DEFAULT to %d", itemid.num);
} else {
dbg_print(INPUT_DBG_PBC, "no DEFAULT for LID %d", p_vcdplayer->i_lid);
return VLC_EGENERIC;
}
#else
......@@ -724,7 +725,7 @@ vcdplayer_play_default( access_t * p_access )
/* PBC is not on. "default" selection beginning of current
selection . */
p_vcdplayer->play_item.num = p_vcdplayer->play_item.num;
itemid.num = p_vcdplayer->play_item.num;
}
......
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