diff mencoder.c @ 4453:71d05615a378

Providing new tune info
author nick
date Fri, 01 Feb 2002 08:50:45 +0000
parents 6310422b9557
children 3c556f8a4159
line wrap: on
line diff
--- a/mencoder.c	Fri Feb 01 05:59:50 2002 +0000
+++ b/mencoder.c	Fri Feb 01 08:50:45 2002 +0000
@@ -323,7 +323,7 @@
 sh_audio_t *sh_audio=NULL;
 sh_video_t *sh_video=NULL;
 int file_format=DEMUXER_TYPE_UNKNOWN;
-int i;
+int i,pitches[3];
 unsigned int out_fmt;
 
 aviwrite_t* muxer=NULL;
@@ -569,7 +569,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)){
+if(!init_video(sh_video,pitches)){
      mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_CouldntInitVideoCodec);
      exit(1);
 }