summaryrefslogtreecommitdiffstats
path: root/playtreeparser.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-13 13:16:30 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-13 13:16:30 +0000
commit43bd3a468e656c079bc457373b2c964d7e8b439a (patch)
tree05c626d331225d69a7b4be3429771505e43ccf95 /playtreeparser.c
parent26bee6f72871cb08f53a5e97092cdd8a655f080d (diff)
downloadmpv-43bd3a468e656c079bc457373b2c964d7e8b439a.tar.bz2
mpv-43bd3a468e656c079bc457373b2c964d7e8b439a.tar.xz
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
Diffstat (limited to 'playtreeparser.c')
-rw-r--r--playtreeparser.c2
1 files changed, 1 insertions, 1 deletions
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