[Mplayer-cvslog] CVS: main codecs.c,1.2,1.3

GEREOFFY arpi_esp at users.sourceforge.net
Sat Mar 17 23:49:16 CET 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv19590

Modified Files:
	codecs.c 
Log Message:
DIV5+DIV6 support

Index: codecs.c
===================================================================
RCS file: /cvsroot/mplayer/main/codecs.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** codecs.c	2001/03/17 22:37:22	1.2
--- codecs.c	2001/03/17 22:49:14	1.3
***************
*** 21,24 ****
--- 21,25 ----
  #endif
            return "mpg4c32.dll";
+ 
  	case mmioFOURCC('M', 'P', '4', '3'):
  	case mmioFOURCC('m', 'p', '4', '3'):
***************
*** 36,45 ****
            return "DivX.dll";
  
  	case mmioFOURCC('D', 'I', 'V', '3'):
  	case mmioFOURCC('d', 'i', 'v', '3'):
  	case mmioFOURCC('D', 'I', 'V', '4'):
          case mmioFOURCC('d', 'i', 'v', '4'):
- 	case mmioFOURCC('D', 'I', 'V', '5'):
-         case mmioFOURCC('d', 'i', 'v', '5'):
  	case mmioFOURCC('M', 'P', '4', '1'):
  	case mmioFOURCC('m', 'p', '4', '1'):
--- 37,49 ----
            return "DivX.dll";
  
+ 	case mmioFOURCC('D', 'I', 'V', '5'):
+         case mmioFOURCC('d', 'i', 'v', '5'):
+ 	case mmioFOURCC('D', 'I', 'V', '6'):
+         case mmioFOURCC('d', 'i', 'v', '6'):
+           avi_header.bih.biCompression-=0x02000000; // div5->div3, div6->div4
  	case mmioFOURCC('D', 'I', 'V', '3'):
  	case mmioFOURCC('d', 'i', 'v', '3'):
  	case mmioFOURCC('D', 'I', 'V', '4'):
          case mmioFOURCC('d', 'i', 'v', '4'):
  	case mmioFOURCC('M', 'P', '4', '1'):
  	case mmioFOURCC('m', 'p', '4', '1'):


_______________________________________________
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