[vlc-devel] commit: Fixed 2 compilation warnings (vout). (Laurent Aimar )

git version control git at videolan.org
Sun Mar 8 14:18:08 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Mar  7 22:02:02 2009 +0100| [5a604332d059acc879d59b79f610dbf915b1161a] | committer: Laurent Aimar 

Fixed 2 compilation warnings (vout).

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

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

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index d31b246..d5335ae 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -487,7 +487,7 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
     if( p_vout->p_module == NULL )
     {
         msg_Err( p_vout, "no suitable vout module" );
-        spu_Attach( p_vout->p_spu, p_vout, false );
+        spu_Attach( p_vout->p_spu, VLC_OBJECT(p_vout), false );
         spu_Destroy( p_vout->p_spu );
         p_vout->p_spu = NULL;
         vlc_object_release( p_vout );
@@ -533,7 +533,7 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
     {
         module_unneed( p_vout, p_vout->p_module );
         p_vout->p_module = NULL;
-        spu_Attach( p_vout->p_spu, p_vout, false );
+        spu_Attach( p_vout->p_spu, VLC_OBJECT(p_vout), false );
         spu_Destroy( p_vout->p_spu );
         p_vout->p_spu = NULL;
         vlc_object_release( p_vout );




More information about the vlc-devel mailing list