# HG changeset patch # User arpi_esp # Date 985053873 0 # Node ID a4d3c83eeb5236c5367d1ceaa7779f9711b4b7ef # Parent 550ebe869cec0a3fbd054cffd18c45e30d0ccb27 small cosmetic to avoid gcc warnings diff -r 550ebe869cec -r a4d3c83eeb52 loader/dshow/Makefile --- a/loader/dshow/Makefile Tue Mar 20 01:59:42 2001 +0000 +++ b/loader/dshow/Makefile Tue Mar 20 02:04:33 2001 +0000 @@ -20,7 +20,7 @@ $(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 -r 550ebe869cec -r a4d3c83eeb52 loader/dshow/cmediasample.c --- a/loader/dshow/cmediasample.c Tue Mar 20 01:59:42 2001 +0000 +++ b/loader/dshow/cmediasample.c Tue Mar 20 02:04:33 2001 +0000 @@ -1,7 +1,7 @@ #include #include #include "cmediasample.h" -#define E_NOTIMPL 0x80004003 +//#define E_NOTIMPL 0x80004003 CMediaSample::CMediaSample(IMemAllocator* allocator, long _size):refcount(0) { vt=new IMediaSample_vt; diff -r 550ebe869cec -r a4d3c83eeb52 loader/dshow/test.c --- a/loader/dshow/test.c Tue Mar 20 01:59:42 2001 +0000 +++ b/loader/dshow/test.c Tue Mar 20 02:04:33 2001 +0000 @@ -8,7 +8,6 @@ int main(int argc,char* argv[]){ FILE *f; - FILE *f2; BITMAPINFOHEADER bih; int len; char *src; @@ -19,7 +18,7 @@ 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);