diff options
Diffstat (limited to 'loader/dshow')
-rw-r--r-- | loader/dshow/Makefile | 2 | ||||
-rw-r--r-- | loader/dshow/cmediasample.c | 2 | ||||
-rw-r--r-- | loader/dshow/test.c | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/loader/dshow/Makefile b/loader/dshow/Makefile index 82db334d1d..2181a30f97 100644 --- a/loader/dshow/Makefile +++ b/loader/dshow/Makefile @@ -20,7 +20,7 @@ $(LIBNAME): .depend $(OBJS) $(AR) r $(LIBNAME) $(OBJS) test: test.c $(LIBNAME) - $(CC) test.c $(CFLAGS) -o test -L. -lDS_Filter -L.. -lloader -ldl -lpthread -lstdc++ + $(CC) test.c -Wall $(CFLAGS) -o test -L. -lDS_Filter -L.. -lloader -ldl -lpthread -lstdc++ all: $(LIBNAME) diff --git a/loader/dshow/cmediasample.c b/loader/dshow/cmediasample.c index c54774ad82..a609a3bc11 100644 --- a/loader/dshow/cmediasample.c +++ b/loader/dshow/cmediasample.c @@ -1,7 +1,7 @@ #include <stdio.h> #include <string.h> #include "cmediasample.h" -#define E_NOTIMPL 0x80004003 +//#define E_NOTIMPL 0x80004003 CMediaSample::CMediaSample(IMemAllocator* allocator, long _size):refcount(0) { vt=new IMediaSample_vt; diff --git a/loader/dshow/test.c b/loader/dshow/test.c index 9a98444132..25245a7a6a 100644 --- a/loader/dshow/test.c +++ b/loader/dshow/test.c @@ -8,7 +8,6 @@ int main(int argc,char* argv[]){ FILE *f; - FILE *f2; BITMAPINFOHEADER bih; int len; char *src; @@ -19,7 +18,7 @@ int main(int argc,char* argv[]){ f=fopen("test.divx","rb"); fread(&bih,sizeof(BITMAPINFOHEADER),1,f); - printf("frame dim: %d x %d \n",bih.biWidth,bih.biHeight); + printf("frame dim: %d x %d \n",(int)bih.biWidth,(int)bih.biHeight); src=(char*)malloc(512000); len=fread(src,1,512000,f); |