[vlc-devel] commit: Fixed returned value in osd_FindButton. (Laurent Aimar )

git version control git at videolan.org
Mon Jan 26 22:50:32 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jan 26 22:45:07 2009 +0100| [712a60c2557ecd142c9d29835142a23e6f477682] | committer: Laurent Aimar 

Fixed returned value in osd_FindButton.

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

 src/osd/osd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/osd/osd.c b/src/osd/osd.c
index 7e74a97..945bf74 100644
--- a/src/osd/osd.c
+++ b/src/osd/osd.c
@@ -691,7 +691,7 @@ osd_button_t *__osd_ButtonFind( vlc_object_t *p_this, int i_x, int i_y,
     {
         vlc_mutex_unlock( lockval.p_address );
         msg_Err( p_this, "osd_ButtonFind failed" );
-        return;
+        return NULL;
     }
 
     p_button = p_osd->p_button;




More information about the vlc-devel mailing list