# HG changeset patch # User arpi # Date 1030818296 0 # Node ID 7085878109503a4e26cb1bdb09f8428fff73b0df # Parent 09722d199d83dcde5aa5ee05d95f033fce0168fa 10l - use NULL instead of -1 for init_video's vfm diff -r 09722d199d83 -r 708587810950 mencoder.c --- a/mencoder.c Sat Aug 31 17:04:59 2002 +0000 +++ b/mencoder.c Sat Aug 31 18:24:56 2002 +0000 @@ -666,7 +666,7 @@ if(video_codec){ // forced codec by name: mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_ForcedVideoCodec,video_codec); - init_video(sh_video,video_codec,-1,-1); + init_video(sh_video,video_codec,NULL,-1); } else { int status; // try in stability order: UNTESTED, WORKING, BUGGY, BROKEN diff -r 09722d199d83 -r 708587810950 mplayer.c --- a/mplayer.c Sat Aug 31 17:04:59 2002 +0000 +++ b/mplayer.c Sat Aug 31 18:24:56 2002 +0000 @@ -1292,7 +1292,7 @@ if(video_codec){ // forced codec by name: mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_ForcedVideoCodec,video_codec); - init_video(sh_video,video_codec,-1,-1); + init_video(sh_video,video_codec,NULL,-1); } else { int status; // try in stability order: UNTESTED, WORKING, BUGGY, BROKEN