* Copyright (C) 2008 the VideoLAN team
* $Id$
*
- * Author: Søren Bøg <avacore@videolan.org>
+ * Author: Soren Bog <avacore@videolan.org>
* Jean-Paul Saman <jpsaman@videolan.org>
*
* This program is free software; you can redistribute it and/or modify
# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
#include <vlc_arrays.h>
#include <vlc_vout.h>
#include <vlc_filter.h>
if( (size_t)p_params->i_width > i_size )
{
msg_Err( p_filter,
- "Insufficient data in shared memory. need %d, got %d",
+ "Insufficient data in shared memory. need %d, got %zu",
p_params->i_width, i_size );
return VLC_EGENERIC;
}
if( i_neededsize > i_size )
{
msg_Err( p_filter,
- "Insufficient data in shared memory. need %d, got %d",
+ "Insufficient data in shared memory. need %zu, got %zu",
i_neededsize, i_size );
p_ovl->data.p_pic->pf_release( p_ovl->data.p_pic );
free( p_ovl->data.p_pic );
i_line < (size_t)p_ovl->data.p_pic->p[i_plane].i_visible_lines;
++i_line )
{
- p_filter->p_libvlc->pf_memcpy( p_out, p_in,
- p_ovl->data.p_pic->p[i_plane].i_visible_pitch );
+ vlc_memcpy( p_out, p_in,
+ p_ovl->data.p_pic->p[i_plane].i_visible_pitch );
p_out += p_ovl->data.p_pic->p[i_plane].i_pitch;
p_in += p_ovl->data.p_pic->p[i_plane].i_visible_pitch;
}
p_sys->pp_commands[i_index]->pf_unparse = p_commands[i_index].pf_unparse;
}
- msg_Dbg( p_filter, "%d commands are available", p_sys->i_commands );
+ msg_Dbg( p_filter, "%zu commands are available", p_sys->i_commands );
for( size_t i_index = 0; i_index < p_sys->i_commands; i_index++ )
msg_Dbg( p_filter, " %s", p_sys->pp_commands[i_index]->psz_command );
}