Commit 5b5c2f30 authored by Clément Stenac's avatar Clément Stenac

Uninitialized values

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