[Mplayer-cvslog] CVS: main/loader/DirectShow Makefile,1.2,1.3 cmediasample.cpp,1.1.1.1,1.2 test.c,1.1,1.2

GEREOFFY arpi_esp at users.sourceforge.net
Tue Mar 20 03:04:35 CET 2001


Update of /cvsroot/mplayer/main/loader/DirectShow
In directory usw-pr-cvs1:/tmp/cvs-serv23725

Modified Files:
	Makefile cmediasample.cpp test.c 
Log Message:
small cosmetic to avoid gcc warnings

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/loader/DirectShow/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Makefile	2001/03/20 01:59:42	1.2
--- Makefile	2001/03/20 02:04:33	1.3
***************
*** 21,25 ****
  
  test:   test.c $(LIBNAME)
! 	$(CC) test.c $(CFLAGS) -o test -L. -lDS_Filter -L.. -lloader -ldl -lpthread -lstdc++
  
  all:	$(LIBNAME)
--- 21,25 ----
  
  test:   test.c $(LIBNAME)
! 	$(CC) test.c -Wall $(CFLAGS) -o test -L. -lDS_Filter -L.. -lloader -ldl -lpthread -lstdc++
  
  all:	$(LIBNAME)

Index: cmediasample.cpp
===================================================================
RCS file: /cvsroot/mplayer/main/loader/DirectShow/cmediasample.cpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** cmediasample.cpp	2001/03/20 00:05:34	1.1.1.1
--- cmediasample.cpp	2001/03/20 02:04:33	1.2
***************
*** 2,6 ****
  #include <string.h>
  #include "cmediasample.h"
! #define E_NOTIMPL 0x80004003
  CMediaSample::CMediaSample(IMemAllocator* allocator, long _size):refcount(0)
  {
--- 2,6 ----
  #include <string.h>
  #include "cmediasample.h"
! //#define E_NOTIMPL 0x80004003
  CMediaSample::CMediaSample(IMemAllocator* allocator, long _size):refcount(0)
  {

Index: test.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/DirectShow/test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test.c	2001/03/20 01:59:42	1.1
--- test.c	2001/03/20 02:04:33	1.2
***************
*** 9,13 ****
  int main(int argc,char* argv[]){
      FILE *f;
-     FILE *f2;
      BITMAPINFOHEADER bih;
      int len;
--- 9,12 ----
***************
*** 20,24 ****
      
      fread(&bih,sizeof(BITMAPINFOHEADER),1,f);
!     printf("frame dim: %d x %d \n",bih.biWidth,bih.biHeight);
  
      src=(char*)malloc(512000);
--- 19,23 ----
      
      fread(&bih,sizeof(BITMAPINFOHEADER),1,f);
!     printf("frame dim: %d x %d \n",(int)bih.biWidth,(int)bih.biHeight);
  
      src=(char*)malloc(512000);


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list