]> git.sesse.net Git - vlc/commitdiff
Fix a few compilation warnings.
authorAntoine Cellerier <dionoea@videolan.org>
Wed, 4 Jun 2008 10:56:46 +0000 (12:56 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Wed, 4 Jun 2008 11:14:12 +0000 (13:14 +0200)
src/misc/objects.c
src/video_output/vout_pictures.c

index e8e0ff07b6a429afb473d2f464f48d16c81025f9..6791737610ceb0f71f124ff6a5de4cf35bf7ed2b 100644 (file)
@@ -1600,6 +1600,7 @@ void vlc_refcheck (vlc_object_t *obj)
 
 static void held_objects_destroy (void *data)
 {
+    VLC_UNUSED( data );
     held_list_t *hl = vlc_threadvar_get (&held_objects);
     vlc_object_t *caller = vlc_threadobj ();
 
index 62cc9b21010c82900fb1b54779a0743b8c705947..44ab4c2e6ffe6106fef07f215adc807d57ff5910 100644 (file)
@@ -378,7 +378,7 @@ picture_t * vout_RenderPicture( vout_thread_t *p_vout, picture_t *p_pic,
         }
 
         /* Convert image to the first direct buffer */
-        p_vout->p_chroma->p_owner = (picture_t *)p_tmp_pic;
+        p_vout->p_chroma->p_owner = (filter_owner_sys_t *)p_tmp_pic;
         p_vout->p_chroma->pf_video_filter( p_vout->p_chroma, p_pic );
 
         /* Render subpictures on the first direct buffer */
@@ -399,7 +399,7 @@ picture_t * vout_RenderPicture( vout_thread_t *p_vout, picture_t *p_pic,
                 return NULL;
 
         /* Convert image to the first direct buffer */
-        p_vout->p_chroma->p_owner = (picture_t *)&p_vout->p_picture[0];
+        p_vout->p_chroma->p_owner = (filter_owner_sys_t *)&p_vout->p_picture[0];
         p_vout->p_chroma->pf_video_filter( p_vout->p_chroma, p_pic );
 
         /* Render subpictures on the first direct buffer */
@@ -926,6 +926,7 @@ int vout_ChromaCmp( vlc_fourcc_t i_chroma, vlc_fourcc_t i_amorhc )
 void __vout_CopyPicture( vlc_object_t *p_this,
                          picture_t *p_dest, picture_t *p_src )
 {
+    VLC_UNUSED( p_this );
     int i;
 
     for( i = 0; i < p_src->i_planes ; i++ )