[Mplayer-cvslog] CVS: main mencoder.c,1.94,1.95

Arpi of Ize arpi at mplayer.dev.hu
Sat Mar 16 23:51:10 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv8981

Modified Files:
	mencoder.c 
Log Message:
removed pitches[] mess

Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- mencoder.c	24 Feb 2002 17:10:06 -0000	1.94
+++ mencoder.c	16 Mar 2002 22:51:07 -0000	1.95
@@ -372,7 +372,7 @@
 sh_audio_t *sh_audio=NULL;
 sh_video_t *sh_video=NULL;
 int file_format=DEMUXER_TYPE_UNKNOWN;
-int i,pitches[3];
+int i;
 unsigned int out_fmt;
 
 aviwrite_t* muxer=NULL;
@@ -624,7 +624,7 @@
 if (IMGFMT_IS_RGB(out_fmt))
     vo_image_ptr = vo_image = malloc(vo_w*vo_h*IMGFMT_RGB_DEPTH(out_fmt)/8);
 
-if(!init_video(sh_video,pitches)){
+if(!init_video(sh_video,NULL)){
      mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_CouldntInitVideoCodec);
      mencoder_exit(1,NULL);
 }




More information about the MPlayer-cvslog mailing list