changeset 7207:708587810950

10l - use NULL instead of -1 for init_video's vfm
author arpi
date Sat, 31 Aug 2002 18:24:56 +0000
parents 09722d199d83
children 79fb883d9769
files mencoder.c mplayer.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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