[vlc-devel] commit: en50221: Increase MAX_CASYSTEM_IDS to 64 and fix inverted logic ( Marian Ďurkovič )
git version control
git at videolan.org
Tue Oct 27 19:27:04 CET 2009
vlc | branch: master | Marian Ďurkovič <md at bts.sk> | Tue Oct 27 19:26:45 2009 +0100| [0b63b79124ccaa4ccf861b72d3bb6c19bb804606] | committer: Marian Ďurkovič
en50221: Increase MAX_CASYSTEM_IDS to 64 and fix inverted logic
As reported on forum, Powercam Pro returns 38 system IDs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0b63b79124ccaa4ccf861b72d3bb6c19bb804606
---
modules/access/dvb/en50221.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/dvb/en50221.c b/modules/access/dvb/en50221.c
index ccd4353..bc81225 100644
--- a/modules/access/dvb/en50221.c
+++ b/modules/access/dvb/en50221.c
@@ -963,7 +963,7 @@ static void ApplicationInformationOpen( access_t * p_access, int i_session_id )
* Conditional Access
*/
-#define MAX_CASYSTEM_IDS 16
+#define MAX_CASYSTEM_IDS 64
typedef struct
{
@@ -973,7 +973,7 @@ typedef struct
static bool CheckSystemID( system_ids_t *p_ids, uint16_t i_id )
{
int i = 0;
- if( !p_ids ) return true;
+ if( !p_ids ) return false;
while ( p_ids->pi_system_ids[i] )
{
More information about the vlc-devel
mailing list