Commit 5cc4255a authored by Antoine Cellerier's avatar Antoine Cellerier

Fix a few compilation warnings.

parent e259db6f
...@@ -1600,6 +1600,7 @@ void vlc_refcheck (vlc_object_t *obj) ...@@ -1600,6 +1600,7 @@ void vlc_refcheck (vlc_object_t *obj)
static void held_objects_destroy (void *data) static void held_objects_destroy (void *data)
{ {
VLC_UNUSED( data );
held_list_t *hl = vlc_threadvar_get (&held_objects); held_list_t *hl = vlc_threadvar_get (&held_objects);
vlc_object_t *caller = vlc_threadobj (); vlc_object_t *caller = vlc_threadobj ();
......
...@@ -378,7 +378,7 @@ picture_t * vout_RenderPicture( vout_thread_t *p_vout, picture_t *p_pic, ...@@ -378,7 +378,7 @@ picture_t * vout_RenderPicture( vout_thread_t *p_vout, picture_t *p_pic,
} }
/* Convert image to the first direct buffer */ /* 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 ); p_vout->p_chroma->pf_video_filter( p_vout->p_chroma, p_pic );
/* Render subpictures on the first direct buffer */ /* Render subpictures on the first direct buffer */
...@@ -399,7 +399,7 @@ picture_t * vout_RenderPicture( vout_thread_t *p_vout, picture_t *p_pic, ...@@ -399,7 +399,7 @@ picture_t * vout_RenderPicture( vout_thread_t *p_vout, picture_t *p_pic,
return NULL; return NULL;
/* Convert image to the first direct buffer */ /* 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 ); p_vout->p_chroma->pf_video_filter( p_vout->p_chroma, p_pic );
/* Render subpictures on the first direct buffer */ /* Render subpictures on the first direct buffer */
...@@ -926,6 +926,7 @@ int vout_ChromaCmp( vlc_fourcc_t i_chroma, vlc_fourcc_t i_amorhc ) ...@@ -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, void __vout_CopyPicture( vlc_object_t *p_this,
picture_t *p_dest, picture_t *p_src ) picture_t *p_dest, picture_t *p_src )
{ {
VLC_UNUSED( p_this );
int i; int i;
for( i = 0; i < p_src->i_planes ; i++ ) for( i = 0; i < p_src->i_planes ; i++ )
......
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