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

Kill one exception

parent bcc064f2
...@@ -933,13 +933,12 @@ typedef enum libvlc_audio_output_channel_t { ...@@ -933,13 +933,12 @@ typedef enum libvlc_audio_output_channel_t {
* Get the list of available audio outputs * Get the list of available audio outputs
* *
* \param p_instance libvlc instance * \param p_instance libvlc instance
* \param p_e an initialized exception pointer * \return list of available audio outputs. It must be freed it with
* \return list of available audio outputs, at the end free it with * \see libvlc_audio_output_list_release \see libvlc_audio_output_t .
* \see libvlc_audio_output_list_release \see libvlc_audio_output_t * In case of error, NULL is returned.
*/ */
VLC_PUBLIC_API libvlc_audio_output_t * VLC_PUBLIC_API libvlc_audio_output_t *
libvlc_audio_output_list_get( libvlc_instance_t *, libvlc_audio_output_list_get( libvlc_instance_t * );
libvlc_exception_t * );
/** /**
* Free the list of available audio outputs * Free the list of available audio outputs
......
...@@ -64,8 +64,7 @@ static aout_instance_t *GetAOut( libvlc_instance_t *p_instance, ...@@ -64,8 +64,7 @@ static aout_instance_t *GetAOut( libvlc_instance_t *p_instance,
* Get the list of available audio outputs * Get the list of available audio outputs
*****************************************/ *****************************************/
libvlc_audio_output_t * libvlc_audio_output_t *
libvlc_audio_output_list_get( libvlc_instance_t *p_instance, libvlc_audio_output_list_get( libvlc_instance_t *p_instance )
libvlc_exception_t *p_e )
{ {
VLC_UNUSED( p_instance ); VLC_UNUSED( p_instance );
libvlc_audio_output_t *p_list = NULL, libvlc_audio_output_t *p_list = NULL,
...@@ -85,7 +84,6 @@ libvlc_audio_output_t * ...@@ -85,7 +84,6 @@ libvlc_audio_output_t *
malloc( sizeof( libvlc_audio_output_t ) ); malloc( sizeof( libvlc_audio_output_t ) );
if( p_actual == NULL ) if( p_actual == NULL )
{ {
libvlc_exception_raise( p_e );
libvlc_printerr( "Not enough memory" ); libvlc_printerr( "Not enough memory" );
libvlc_audio_output_list_release( p_list ); libvlc_audio_output_list_release( p_list );
module_list_free( module_list ); module_list_free( module_list );
......
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