[MPlayer-users] Simple compile fix

Nate Eldredge neldredge at hmc.edu
Thu Apr 4 23:46:05 CEST 2002


mencoder doesn't compile on machines without dvdread.  There is a
misplaced brace in an ifdef.  Here is the obvious fix:

--- mencoder.c  29 Mar 2002 07:20:44 -0000      1.106
+++ mencoder.c  4 Apr 2002 21:42:54 -0000
@@ -781,8 +781,8 @@
 #ifdef USE_DVDREAD
 vo_spudec=spudec_new_scaled(stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL,
                            sh_video->disp_w, sh_video->disp_h);
-}
 #endif
+}
 
 // set up output file:
 muxer_f=fopen(out_filename,"wb");

-- 

Nate Eldredge
neldredge at hmc.edu




More information about the MPlayer-users mailing list