[MPlayer-cvslog] r37658 - trunk/libvo/vo_mpegpes.c

reimar subversion at mplayerhq.hu
Wed Feb 10 22:39:16 CET 2016


Author: reimar
Date: Wed Feb 10 22:39:16 2016
New Revision: 37658

Log:
vo_mpegpes.c: Avoid Coverity deadcode warning.

Modified:
   trunk/libvo/vo_mpegpes.c

Modified: trunk/libvo/vo_mpegpes.c
==============================================================================
--- trunk/libvo/vo_mpegpes.c	Wed Feb 10 22:26:33 2016	(r37657)
+++ trunk/libvo/vo_mpegpes.c	Wed Feb 10 22:39:16 2016	(r37658)
@@ -148,8 +148,9 @@ static int preinit(const char *arg){
 	}
 	return 0;
     }
+#else
+    if (!arg) arg = "grab.mpg";
 #endif
-    arg = (arg ? arg : "grab.mpg");
     mp_msg(MSGT_VO,MSGL_INFO, "Saving PES stream to %s\n", arg);
     vo_mpegpes_fd=open(arg,O_WRONLY|O_CREAT,0666);
     if(vo_mpegpes_fd<0){


More information about the MPlayer-cvslog mailing list