diff options
-rw-r--r-- | input/input.c | 4 | ||||
-rw-r--r-- | libmpdemux/demux_ts.c | 2 | ||||
-rw-r--r-- | libvo/mga_common.c | 2 | ||||
-rw-r--r-- | playtreeparser.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/input/input.c b/input/input.c index faf9ea9e95..7380345bec 100644 --- a/input/input.c +++ b/input/input.c @@ -1637,10 +1637,10 @@ mp_input_set_section(char *name) { cmd_binds_default=NULL; if(section) free(section); if(name) section=strdup(name); else section=strdup("default"); - if(bind_section=mp_input_get_bind_section(section)) + if((bind_section=mp_input_get_bind_section(section))) cmd_binds=bind_section->cmd_binds; if(strcmp(section,"default")==0) return; - if(bind_section=mp_input_get_bind_section(NULL)) + if((bind_section=mp_input_get_bind_section(NULL))) cmd_binds_default=bind_section->cmd_binds; } diff --git a/libmpdemux/demux_ts.c b/libmpdemux/demux_ts.c index e32a312ebe..f55407cd14 100644 --- a/libmpdemux/demux_ts.c +++ b/libmpdemux/demux_ts.c @@ -2792,7 +2792,7 @@ static int ts_parse(demuxer_t *demuxer , ES_stream_t *es, unsigned char *packet, if(dvdsub_lang) { - if(lang = pid_lang_from_pmt(priv, pid)) + if ((lang = pid_lang_from_pmt(priv, pid))) asgn = (strncmp(lang, dvdsub_lang, 3) == 0); } else //no language specified with -slang diff --git a/libvo/mga_common.c b/libvo/mga_common.c index 8a20ba5c67..dce62abeac 100644 --- a/libvo/mga_common.c +++ b/libvo/mga_common.c @@ -391,7 +391,7 @@ static int mga_init(int width,int height,unsigned int format){ { // try whether we have a G550 int ret; - if(ret = ioctl(f,MGA_VID_CONFIG,&mga_vid_config)) + if ((ret = ioctl(f,MGA_VID_CONFIG,&mga_vid_config))) { if(mga_vid_config.card_type != MGA_G550) { diff --git a/playtreeparser.c b/playtreeparser.c index d8181904fd..1cafaf7960 100644 --- a/playtreeparser.c +++ b/playtreeparser.c @@ -520,7 +520,7 @@ parse_smil(play_tree_parser_t* p) { pos = line; while (pos) { if (!entrymode) { // all entries filled so far - while (pos=strchr(pos, '<')) { + while ((pos=strchr(pos, '<'))) { if (strncasecmp(pos,"<video",6)==0 || strncasecmp(pos,"<audio",6)==0 || strncasecmp(pos,"<media",6)==0) { entrymode=1; break; // Got a valid tag, exit '<' search loop |