summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-16 22:51:07 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-16 22:51:07 +0000
commitc294d96a276a77c41f32811dffc54ce7284d2890 (patch)
treece2943ebafb073fa1d8c8f832c45f39b39807cfa /mencoder.c
parent802f3d0f65f9b7508187e8d1c1e96596dbdcf8fd (diff)
downloadmpv-c294d96a276a77c41f32811dffc54ce7284d2890.tar.bz2
mpv-c294d96a276a77c41f32811dffc54ce7284d2890.tar.xz
removed pitches[] mess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5150 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mencoder.c b/mencoder.c
index 9901316a14..cdf724a9ba 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -372,7 +372,7 @@ demux_stream_t *d_dvdsub=NULL;
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_BGR(out_fmt))
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);
}