Commit 56b3fdd4 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Cleanup

parent 7b489339
......@@ -394,5 +394,3 @@ typedef struct mwmhints_t
#else
# define MAX_DIRECTBUFFERS 2
#endif
......@@ -28,7 +28,6 @@
#include <vlc_input.h>
#include <vlc_aout.h>
/*
* Remember to release the returned aout_instance_t since it is locked at
* the end of this function.
......@@ -120,7 +119,6 @@ VLC_PUBLIC_API void libvlc_audio_output_list_release( libvlc_audio_output_t *p_l
}
}
/***********************
* Set the audio output.
***********************/
......@@ -166,7 +164,6 @@ int libvlc_audio_output_device_count( libvlc_instance_t *p_instance,
else
free( psz_config_name );
return 0;
}
......@@ -364,7 +361,6 @@ int libvlc_audio_get_volume( libvlc_instance_t *p_instance,
return (i_volume*200+AOUT_VOLUME_MAX/2)/AOUT_VOLUME_MAX;
}
/*****************************************************************************
* libvlc_audio_set_volume : Set the current volume
*****************************************************************************/
......
/*****************************************************************************
* video.c: libvlc new API video functions
*****************************************************************************
* Copyright (C) 2005 the VideoLAN team
* Copyright (C) 2005-2009 the VideoLAN team
*
* $Id$
*
......@@ -218,7 +218,7 @@ void libvlc_video_redraw_rectangle( libvlc_media_player_t *p_mi,
if( p_vout )
{
/* tell running vout to redraw area */
vout_Control( p_vout , VOUT_REDRAW_RECT,
vout_Control( p_vout, VOUT_REDRAW_RECT,
area->top, area->left, area->bottom, area->right );
vlc_object_release( p_vout );
}
......@@ -713,7 +713,5 @@ int libvlc_video_destroy( libvlc_media_player_t *p_mi,
vout_thread_t *p_vout = GetVout( p_mi, p_e );
vlc_object_detach( p_vout );
vlc_object_release( p_vout );
vlc_object_release( p_vout );
return 0;
}
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