summaryrefslogtreecommitdiffstats
path: root/loader/dshow/allocator.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-13 19:43:17 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-13 19:43:17 +0000
commitc7eafc3610b65eafe408d4959ded4c1aab44157a (patch)
tree18e034fefe8c9e37af6f49a902ca3bfe887531c4 /loader/dshow/allocator.c
parent0f6fe4b67312a11395c372831f7228fc78752714 (diff)
downloadmpv-c7eafc3610b65eafe408d4959ded4c1aab44157a.tar.bz2
mpv-c7eafc3610b65eafe408d4959ded4c1aab44157a.tar.xz
avifile sync - 95% cosmetics 5% bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7387 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dshow/allocator.c')
-rw-r--r--loader/dshow/allocator.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/loader/dshow/allocator.c b/loader/dshow/allocator.c
index bc129dc422..c5600f40d9 100644
--- a/loader/dshow/allocator.c
+++ b/loader/dshow/allocator.c
@@ -2,9 +2,17 @@
#include "com.h"
#include "wine/winerror.h"
#include <stdio.h>
+#include <stdlib.h>
static int AllocatorKeeper = 0;
+struct _avm_list_t
+{
+ struct _avm_list_t* next;
+ struct _avm_list_t* prev;
+ void* member;
+};
+
static inline int avm_list_size(avm_list_t* head)
{
avm_list_t* it = head;
@@ -100,7 +108,7 @@ static inline avm_list_t* avm_list_find(avm_list_t* head, void* member)
return NULL;
}
-static long MemAllocator_CreateAllocator(GUID* clsid, GUID* iid, void** ppv)
+static long MemAllocator_CreateAllocator(GUID* clsid, const GUID* iid, void** ppv)
{
IMemAllocator* p;
int result;