]> git.sesse.net Git - vlc/commitdiff
Uninitialized values
authorClément Stenac <zorglub@videolan.org>
Sun, 30 Jan 2005 13:23:18 +0000 (13:23 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 30 Jan 2005 13:23:18 +0000 (13:23 +0000)
modules/gui/wxwindows/extrapanel.cpp
modules/gui/wxwindows/open.cpp
modules/gui/wxwindows/wizard.cpp
modules/gui/wxwindows/wxwindows.h

index 149c18d8e22c0ed26d96da4f760e22150b67149f..84b9c3299315457b23aa049655b983287e4a7cde 100644 (file)
@@ -368,6 +368,8 @@ wxPanel *ExtraPanel::VideoPanel( wxWindow *parent )
     if( f_value > 0 && f_value < 10 )
         gamma_slider->SetValue( (int)(10 * f_value) );
 
+    b_update = VLC_FALSE;
+
     return panel;
 }
 
@@ -473,7 +475,7 @@ wxPanel *ExtraPanel::EqzPanel( wxWindow *parent )
 
     top_sizer->Add( new wxButton( panel, EqRestore_Event,
                                   wxU( _("Restore Defaults") ) ),
-                   0, wxALL, 2 );
+                                  0, wxALL, 2 );
     top_sizer->Add( 0, 0, 1, wxALL, 2 );
 
     wxStaticText *smooth_text = new wxStaticText( panel, -1, wxU( "Smooth :" ));
index 075e254bac1e8ef77a692c1cf9ac6ce9ea8ffd44..656884beb98ac3d55d54c7bbc1ea5c04217c0a1a 100644 (file)
@@ -372,6 +372,7 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf, wxWindow *_p_parent,
     SetIcon( *p_intf->p_sys->p_icon );
     file_dialog = NULL;
     i_disc_type_selection = 0;
+    i_disc_title = 0;
     i_open_arg = i_arg;
 
     sout_dialog = NULL;
index 1a9af9270ef80c6d435c9496000856da13cec94d..ca5f09fb0c8b27e602190bad7e2fd5d64505dc36 100644 (file)
@@ -809,6 +809,8 @@ wizTranscodeCodecPage::wizTranscodeCodecPage( wxWizard *parent,
         video_combo->Append( wxU( vcodecs_array[i].psz_display ) ,
                             (void *)&vcodecs_array[i] );
     }
+    i_video_codec = 0;
+
     video_sizer1->Add( video_combo, 0 , wxALIGN_LEFT , 0 );
 
     video_sizer1->Add( new wxStaticText(this, -1, wxU(_("Bitrate (kb/s)"))),0,
@@ -845,6 +847,8 @@ wizTranscodeCodecPage::wizTranscodeCodecPage( wxWizard *parent,
         audio_combo->Append( wxU( acodecs_array[i].psz_display ) ,
                             (void *)&acodecs_array[i] );
     }
+    i_audio_codec = 0;
+
     audio_sizer1->Add( audio_combo, 0 , wxALIGN_LEFT, 0 );
 
     audio_sizer1->Add( new wxStaticText(this, -1, wxU(_("Bitrate (kb/s)"))),0,
index 5993ed56c53b715fb1f45b15b9be515021a4bbc0..1bdbe37cb8bc8d09b30934e421ee6da0f7fbec0c 100644 (file)
@@ -471,10 +471,10 @@ private:
     wxStaticText *disc_title_label;
     wxStaticText *disc_chapter_label;
     wxStaticText *disc_sub_label;
-    
+
     /* Indicates if the disc device control was modified */
     bool b_disc_device_changed;
-    
+
     /* Controls for the net panel */
     wxRadioBox *net_type;
     int i_net_type;