[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.69,1.70

Michael Niedermayer CVS michael at mplayerhq.hu
Mon Sep 1 14:45:00 CEST 2003


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv26343

Modified Files:
	ve_lavc.c 
Log Message:
asv2 encoding


Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- ve_lavc.c	25 Aug 2003 23:19:08 -0000	1.69
+++ ve_lavc.c	1 Sep 2003 12:44:31 -0000	1.70
@@ -688,6 +688,12 @@
 	memset(mux_v->bih, 0, sizeof(BITMAPINFOHEADER)+8);
 	mux_v->bih->biSize=sizeof(BITMAPINFOHEADER)+8;
     }
+    else if (lavc_param_vcodec && !strcasecmp(lavc_param_vcodec, "asv2"))
+    {
+	mux_v->bih=malloc(sizeof(BITMAPINFOHEADER)+8);
+	memset(mux_v->bih, 0, sizeof(BITMAPINFOHEADER)+8);
+	mux_v->bih->biSize=sizeof(BITMAPINFOHEADER)+8;
+    }
     else if (lavc_param_vcodec && !strcasecmp(lavc_param_vcodec, "wmv2"))
     {
 	mux_v->bih=malloc(sizeof(BITMAPINFOHEADER)+4);
@@ -736,6 +742,8 @@
 	mux_v->bih->biCompression = mmioFOURCC('H', 'F', 'Y', 'U');
     else if (!strcasecmp(lavc_param_vcodec, "asv1"))
 	mux_v->bih->biCompression = mmioFOURCC('A', 'S', 'V', '1');
+    else if (!strcasecmp(lavc_param_vcodec, "asv2"))
+	mux_v->bih->biCompression = mmioFOURCC('A', 'S', 'V', '2');
     else if (!strcasecmp(lavc_param_vcodec, "ffv1"))
 	mux_v->bih->biCompression = mmioFOURCC('F', 'F', 'V', '1');
     else



More information about the MPlayer-cvslog mailing list