Commit d58ed01e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

modules: Don't use gcc specific binary constant prefix

parent fd1f428e
...@@ -1012,10 +1012,10 @@ static int WidiHeader( unsigned *pi_rate, ...@@ -1012,10 +1012,10 @@ static int WidiHeader( unsigned *pi_rate,
switch( ( p_header[3] & 0x38 ) >> 3 ) switch( ( p_header[3] & 0x38 ) >> 3 )
{ {
case 0b001: case 0x01: //0b001
*pi_rate = 44100; *pi_rate = 44100;
break; break;
case 0b010: case 0x02: //0b010
*pi_rate = 48000; *pi_rate = 48000;
break; break;
default: default:
......
...@@ -111,7 +111,7 @@ typedef struct ...@@ -111,7 +111,7 @@ typedef struct
#define VORBIS_HEADER_SETUP 3 #define VORBIS_HEADER_SETUP 3
#define VORBIS_HEADER_TO_FLAG(i) (1 << (i - 1)) #define VORBIS_HEADER_TO_FLAG(i) (1 << (i - 1))
#define VORBIS_HEADERS_VALID(p_stream) \ #define VORBIS_HEADERS_VALID(p_stream) \
((p_stream->special.vorbis.i_headers_flags & 0b111) == 0b111) ((p_stream->special.vorbis.i_headers_flags & 0x07) == 0x07) // 0b111
/***************************************************************************** /*****************************************************************************
* Local prototypes * Local prototypes
......
...@@ -4497,7 +4497,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_pmt ) ...@@ -4497,7 +4497,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_pmt )
break; break;
} }
} }
if ( i_arib_flags == 0b111 ) if ( i_arib_flags == 0x07 ) //0b111
p_sys->arib.e_mode = ARIBMODE_ENABLED; p_sys->arib.e_mode = ARIBMODE_ENABLED;
} }
......
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