Commit 38518ced authored by Simon Latapie's avatar Simon Latapie

* http.c: removed a completely useless check (now you can change volume

 	   value without playing anything)
parent fe2d6895
......@@ -2,7 +2,7 @@
* http.c : http mini-server ;)
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: http.c,v 1.30 2003/11/09 03:41:50 garf Exp $
* $Id: http.c,v 1.31 2003/11/09 05:22:56 garf Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Laurent Aimar <fenrir@via.ecp.fr>
......@@ -1696,8 +1696,6 @@ static void MacroDo( httpd_file_callback_args_t *p_args,
audio_volume_t i_volume;
int i_value;
if( p_sys->p_input )
{
uri_extract_value( p_request, "value", vol, 8 );
aout_VolumeGet( p_intf, &i_volume );
uri_decode_url_encoded( vol );
......@@ -1736,11 +1734,9 @@ static void MacroDo( httpd_file_callback_args_t *p_args,
msg_Dbg( p_intf, "requested volume set: %i", atoi( vol ) );
}
}
}
break;
}
/* playlist management */
case MVLC_ADD:
{
......
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