Commit ce96ee78 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

libvlc_audio_set_track: return -1 on error

Surprisingly, my gcc did not generate a possible unitilization warning.
parent e69bf784
......@@ -339,7 +339,7 @@ int libvlc_audio_set_track( libvlc_media_player_t *p_mi, int i_track )
{
input_thread_t *p_input_thread = libvlc_get_input_thread( p_mi );
vlc_value_t val_list;
int i_ret;
int i_ret = -1;
if( !p_input_thread )
return -1;
......
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