Commit 10eab32c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

__EVEN: expansion-safety

parent ce145053
......@@ -33,7 +33,7 @@
#define AVI_DEBUG 1
#define __EVEN( x ) ( (x)&0x01 ? (x)+1 : (x) )
#define __EVEN( x ) (((x) + 1) & ~1)
static vlc_fourcc_t GetFOURCC( const uint8_t *p_buff )
{
......
......@@ -73,7 +73,7 @@ struct demux_sys_t
int pi_chan_table[AOUT_CHAN_MAX];
};
#define __EVEN( x ) ( ( (x)%2 != 0 ) ? ((x)+1) : (x) )
#define __EVEN( x ) (((x) + 1) & ~1)
static int ChunkFind( demux_t *, const char *, unsigned int * );
......
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