]> git.sesse.net Git - vlc/commitdiff
Remove gcc 4 uninitialize variable warning.
authorRocky Bernstein <rocky@videolan.org>
Sat, 16 Jul 2005 04:32:18 +0000 (04:32 +0000)
committerRocky Bernstein <rocky@videolan.org>
Sat, 16 Jul 2005 04:32:18 +0000 (04:32 +0000)
modules/access/vcdx/vcdplayer.c

index 7524581030845427715e106088b34d0c2e026c77..76724406f1f2a3ee471f789cb3f12183023446fa 100644 (file)
@@ -755,7 +755,7 @@ vcdplayer_play_next( access_t * p_access )
 
   p_vcdinfo = p_vcdplayer->vcd;
 
-  itemid.type = p_vcdplayer->play_item.type;
+  itemid = p_vcdplayer->play_item;
 
   if  (vcdplayer_pbc_is_on(p_vcdplayer)) {
 
@@ -849,7 +849,7 @@ vcdplayer_play_prev( access_t * p_access )
   dbg_print( (INPUT_DBG_CALL|INPUT_DBG_PBC), 
             "current: %d" , p_vcdplayer->play_item.num);
 
-  itemid.type = p_vcdplayer->play_item.type;
+  itemid = p_vcdplayer->play_item;
 
   if  (vcdplayer_pbc_is_on(p_vcdplayer)) {
 
@@ -915,7 +915,7 @@ vcdplayer_play_return( access_t * p_access )
   dbg_print( (INPUT_DBG_CALL|INPUT_DBG_PBC), 
             "current: %d" , p_vcdplayer->play_item.num);
 
-  itemid.type = p_vcdplayer->play_item.type;
+  itemid = p_vcdplayer->play_item;
 
   if  (vcdplayer_pbc_is_on(p_vcdplayer)) {