[vlc-commits] opensles: Clear() -> rename

Rafaël Carré git at videolan.org
Sun Jan 22 08:12:47 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Jan 22 01:48:43 2012 -0500| [984533a217fa3f995e3c8b19833b056cda1cb7b0] | committer: Rafaël Carré

opensles: Clear() -> rename

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=984533a217fa3f995e3c8b19833b056cda1cb7b0
---

 modules/audio_output/opensles_android.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/audio_output/opensles_android.c b/modules/audio_output/opensles_android.c
index 51db01e..1093ef4 100644
--- a/modules/audio_output/opensles_android.c
+++ b/modules/audio_output/opensles_android.c
@@ -104,7 +104,7 @@ vlc_module_end ()
         goto error;                                          \
     }
 
-static void Clear( aout_sys_t *p_sys )
+static void Clean( aout_sys_t *p_sys )
 {
     // Destroy buffer queue audio player object
     // and invalidate all associated interfaces
@@ -306,7 +306,7 @@ static int Open( vlc_object_t *p_this )
 
     return VLC_SUCCESS;
 error:
-    Clear( p_sys );
+    Clean( p_sys );
     return VLC_EGENERIC;
 }
 
@@ -321,6 +321,6 @@ static void Close( vlc_object_t *p_this )
     (*p_sys->playerPlay)->SetPlayState( p_sys->playerPlay, SL_PLAYSTATE_STOPPED );
     //Flush remaining buffers if any.
     (*p_sys->playerBufferQueue)->Clear( p_sys->playerBufferQueue );
-    Clear( p_sys );
+    Clean( p_sys );
 }
 



More information about the vlc-commits mailing list