/*****************************************************************************
* ts.c: Transport Stream input module for VLC.
*****************************************************************************
- * Copyright (C) 2004-2005 VideoLAN (Centrale Réseaux) and its contributors
+ * Copyright (C) 2004-2005 the VideoLAN team
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
/*****************************************************************************
* Preamble
*****************************************************************************/
+
+#include <vlc/vlc.h>
+
+#include <stdio.h>
#include <stdlib.h> /* malloc(), free() */
#include <ctype.h>
-#include <vlc/vlc.h>
#include <vlc/input.h>
#include "iso_lang.h"
i_diff = ( i_cc - p_pid->i_cc )&0x0f;
if( b_payload && i_diff == 1 )
{
- p_pid->i_cc++;
+ p_pid->i_cc = ( p_pid->i_cc + 1 ) & 0xf;
}
else
{
i_diff = ( i_cc - pid->i_cc )&0x0f;
if( b_payload && i_diff == 1 )
{
- pid->i_cc++;
+ pid->i_cc = ( pid->i_cc + 1 ) & 0xf;
}
else
{
{
if( p_dr->i_tag == 0x48 )
{
+#if 0
static const char *psz_type[0x11] = {
"Reserved",
"Digital television service",
"RCS FLS (see EN 301 790 [35])",
"DVB MHP service"
};
+#endif
dvbpsi_service_dr_t *pD = dvbpsi_DecodeServiceDr( p_dr );
char str1[257];
char str2[257];