Commit 61251780 authored by massiot's avatar massiot

* en50221.c: Increase MAX_CASYSTEM_IDS to 64 and fix inverted logic (thanks Marian !)


git-svn-id: svn://svn.videolan.org/dvblast/trunk@39 55d3f8b6-4a41-4d2d-a900-313d1436a5b8
parent 299f2da9
......@@ -947,7 +947,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
{
......@@ -959,7 +959,7 @@ typedef struct
static int CheckSystemID( system_ids_t *p_ids, uint16_t i_id )
{
int i = 0;
if( !p_ids ) return 1;
if( !p_ids ) return 0;
while ( p_ids->pi_system_ids[i] )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment