From 43bd3a468e656c079bc457373b2c964d7e8b439a Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 13 Sep 2007 13:16:30 +0000 Subject: warning fixes: input.c: In function 'mp_input_set_section': input.c:1640: warning: suggest parentheses around assignment used as truth value input.c:1643: warning: suggest parentheses around assignment used as truth value mga_common.c: In function 'mga_init': mga_common.c:394: warning: suggest parentheses around assignment used as truth value playtreeparser.c: In function 'parse_smil': playtreeparser.c:523: warning: suggest parentheses around assignment used as truth value libmpdemux/demux_ts.c: In function 'ts_parse': libmpdemux/demux_ts.c:2795: warning: suggest parentheses around assignment used as truth value libmpdemux/demux_ts.c: In function 'demux_open_ts': libmpdemux/demux_ts.c:591: warning: 'frame_length' may be used uninitialized in this function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24444 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/mga_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo') 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) { -- cgit v1.2.3