Changeset 445347100cb494841a2f142361d11be6a56165c2

Show
Ignore:
Timestamp:
09/07/05 03:56:01 (3 years ago)
Author:
Rocky Bernstein <rocky@videolan.org>
git-committer:
Rocky Bernstein <rocky@videolan.org> 1120874161 +0000
git-parent:

[3f0b1c5a5e02e02a6b7c99bee8cf34b3f87767d1]

git-author:
Rocky Bernstein <rocky@videolan.org> 1120874161 +0000
Message:

vcdplayer.c: fix gcc 4-caught uninitialized variable.
vcd.c: more logical order of macros (I think)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/vcdx/vcd.c

    r85b29bd r4453471  
    9393 
    9494vlc_module_begin(); 
     95    set_shortname( N_("(Super) Video CD")); 
     96    set_description( _("Video CD (VCD 1.0, 1.1, 2.0, SVCD, HQVCD) input") ); 
    9597    add_usage_hint( N_("vcdx://[device-or-file][@{P,S,T}num]") ); 
    96     set_description( _("Video CD (VCD 1.0, 1.1, 2.0, SVCD, HQVCD) input") ); 
    97     set_capability( "access2", 55 /* slightly lower than vcd */ ); 
    98     set_shortname( N_("(Super) Video CD")); 
    99     set_callbacks( VCDOpen, VCDClose ); 
    10098    add_shortcut( "vcdx" ); 
    10199    set_category( CAT_INPUT ); 
    102100    set_subcategory( SUBCAT_INPUT_ACCESS ); 
     101    set_capability( "access2", 55 /* slightly lower than vcd */ ); 
     102    set_callbacks( VCDOpen, VCDClose ); 
    103103 
    104104    /* Configuration options */ 
  • modules/access/vcdx/vcdplayer.c

    rb95300b r4453471  
    696696    } else { 
    697697      dbg_print(INPUT_DBG_PBC, "no DEFAULT for LID %d", p_vcdplayer->i_lid); 
     698      return VLC_EGENERIC; 
    698699    } 
    699700 
     
    725726       selection . */ 
    726727   
    727     p_vcdplayer->play_item.num = p_vcdplayer->play_item.num; 
     728    itemid.num = p_vcdplayer->play_item.num; 
    728729     
    729730  }