[MPlayer-cvslog] r19227 - trunk/libao2/ao_mpegpes.c

nicodvb subversion at mplayerhq.hu
Fri Jul 28 23:15:31 CEST 2006


Author: nicodvb
Date: Fri Jul 28 23:15:31 2006
New Revision: 19227

Modified:
   trunk/libao2/ao_mpegpes.c

Log:
if HAVE_DVB isn't set don't fall back to outputting audiograb.mpg by default, fail instead

Modified: trunk/libao2/ao_mpegpes.c
==============================================================================
--- trunk/libao2/ao_mpegpes.c	(original)
+++ trunk/libao2/ao_mpegpes.c	Fri Jul 28 23:15:31 2006
@@ -164,15 +164,7 @@
 		return init_device(card);
 #else	
 	if(!ao_file)
-	{
-		if(vo_mpegpes_fd >= 0)
-		{
-			vo_mpegpes_fd2 = vo_mpegpes_fd;
-			return vo_mpegpes_fd2;	//video fd
-		}
-		else
-			ao_file = "audiograb.mpg";
-	}
+		return vo_mpegpes_fd;	//video fd
 #endif
 
 	vo_mpegpes_fd2=open(ao_file,O_WRONLY|O_CREAT,0666);



More information about the MPlayer-cvslog mailing list