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

reimar subversion at mplayerhq.hu
Mon Jan 25 21:10:28 EET 2021


Author: reimar
Date: Mon Jan 25 21:10:28 2021
New Revision: 38241

Log:
ao_mpegpes.c: Put code accessing DVB devices under CONFIG_DVB.

Modified:
   trunk/libao2/ao_mpegpes.c

Modified: trunk/libao2/ao_mpegpes.c
==============================================================================
--- trunk/libao2/ao_mpegpes.c	Mon Jan 25 21:10:27 2021	(r38240)
+++ trunk/libao2/ao_mpegpes.c	Mon Jan 25 21:10:28 2021	(r38241)
@@ -161,6 +161,7 @@ static int preinit(const char *arg)
 		mp_msg(MSGT_VO, MSGL_ERR, "AO_MPEGPES, Unrecognized options\n");
 		return -1;
 	}
+#ifdef CONFIG_DVB
 	if(card==-1)
 	{
 		//search the first usable card
@@ -183,7 +184,6 @@ static int preinit(const char *arg)
 	}
 	card--;
 
-#ifdef CONFIG_DVB
 	if(!ao_file)
 		return init_device(card);
 #else


More information about the MPlayer-cvslog mailing list