[vlc-devel] Seek support in imem access module

Laurent Aimar fenrir at elivagar.org
Wed Jul 14 14:33:13 CEST 2010


On Wed, Jul 14, 2010 at 02:21:24PM +0200, Rémi Denis-Courmont wrote:
> On Wed, 14 Jul 2010 14:18:24 +0200, Kamil Klimek <naresh at tlen.pl> wrote:
> > 
> > Wiadomo???? napisana przez Laurent Aimar w dniu 2010-07-14, o godz.
> 12:59:
> > 
> >>> +{
> >>> +    imem_sys_t * sys = (imem_sys_t*)access->p_sys;
> >> imem_sys_t *sys = access->p_sys
> >> No space and no need to cast.
> > 
> > without cast compiler complains (warning)
> 
> ...because the structure is not called access_sys_t - as it probably
> should.
 In fact it cannot, imem is both an access_t and demux_t. So the private
structure type will be wrong for at least one of the module.

-- 
fenrir



More information about the vlc-devel mailing list