summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-20 02:04:33 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-20 02:04:33 +0000
commita08f4d5958ce9be2f85de756aac922885ae9761c (patch)
treef277d2065eb6529f2908463e04d925da20a9cf58 /loader
parentd48476cd193000e902eb25d8533e3e15c0a38d69 (diff)
downloadmpv-a08f4d5958ce9be2f85de756aac922885ae9761c.tar.bz2
mpv-a08f4d5958ce9be2f85de756aac922885ae9761c.tar.xz
small cosmetic to avoid gcc warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@171 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r--loader/dshow/Makefile2
-rw-r--r--loader/dshow/cmediasample.c2
-rw-r--r--loader/dshow/test.c3
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);