[MPlayer-dev-eng] [PATCH]Increase MAX_CARDS in stream/stream_dvb.c

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Jul 8 08:21:20 CEST 2010


On Thu, Jul 08, 2010 at 12:00:02AM +0200, Carl Eugen Hoyos wrote:
> Nico, any objections?
> 
> Carl Eugen

> Index: stream/stream_dvb.c
> ===================================================================
> --- stream/stream_dvb.c	(revision 31644)
> +++ stream/stream_dvb.c	(working copy)
> @@ -50,6 +50,7 @@
>  #include "dvbin.h"
>  
>  
> +#define MAX_CARDS 8

That name is too generic there.
Also I'm not sure if it isn't better to allow any value in
the parser and print the right error elsewhere with an info
what to change (there's also the question why we have to
limit the number of supported cards at all).


More information about the MPlayer-dev-eng mailing list