* Exported prototypes
*****************************************************************************/
static block_t *BlockRead( access_t * );
-static int Seek( access_t *, int64_t );
+static int Seek( access_t *, uint64_t );
static int Control( access_t *, int, va_list );
struct access_sys_t
static int RtspWrite( void *p_userdata, uint8_t *p_buffer, int i_buffer )
{
+ VLC_UNUSED(i_buffer);
access_t *p_access = (access_t *)p_userdata;
access_sys_t *p_sys = p_access->p_sys;
//fprintf(stderr, "Write: %s", p_buffer);
- net_Printf( VLC_OBJECT(p_access), p_sys->fd, 0, "%s", p_buffer );
+ net_Printf( p_access, p_sys->fd, 0, "%s", p_buffer );
return 0;
}
msg_Err( p_access, "rtsp session can not be established" );
- dialog_Fatal( p_access, _("Session failed"),
+ dialog_Fatal( p_access, _("Session failed"), "%s",
_("The requested RTSP session could not be established.") );
goto error;
}
/*****************************************************************************
* Seek: seek to a specific location in a file
*****************************************************************************/
-static int Seek( access_t *p_access, int64_t i_pos )
+static int Seek( access_t *p_access, uint64_t i_pos )
{
+ VLC_UNUSED(p_access);
+ VLC_UNUSED(i_pos);
return VLC_SUCCESS;
}