Re: [DSHOW-08] Implementation of IMemAllocator and IMediaSample (REVISED)

2003-09-09 Thread Mike Hearn
Are we allowed to use that file all over wine? Having access to a global shared linked list implementation would be handy. On Tue, 2003-09-09 at 20:49, Alexandre Julliard wrote: > Robert Shearman <[EMAIL PROTECTED]> writes: > > > +struct list * pFreeList; > > +struct list * pUsedList; >

Re: [DSHOW-08] Implementation of IMemAllocator and IMediaSample (REVISED)

2003-09-09 Thread Alexandre Julliard
Robert Shearman <[EMAIL PROTECTED]> writes: > +struct list * pFreeList; > +struct list * pUsedList; You are not using the list functions the right way; these should be a struct list, not a struct list *. The rest of the code then gets a lot cleaner, you don't need any special cases for em