Mercurial > mplayer.hg
changeset 30756:69bbd8b9fd09
sub_utf8 is handled as a value, not flags everywhere else, so change
sub_utf8 & 2 to == 2.
author | reimar |
---|---|
date | Sun, 28 Feb 2010 14:27:44 +0000 |
parents | 4e654b2e4517 |
children | 6a5957bf5b70 |
files | subreader.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/subreader.c Sun Feb 28 14:22:44 2010 +0000 +++ b/subreader.c Sun Feb 28 14:27:44 2010 +0000 @@ -1433,7 +1433,7 @@ sub=srp->read(fd,sub); if(!sub) break; // EOF #ifdef CONFIG_ICONV - if ((sub!=ERR) && (sub_utf8 & 2)) sub=subcp_recode(sub); + if ((sub!=ERR) && sub_utf8 == 2) sub=subcp_recode(sub); #endif #ifdef CONFIG_FRIBIDI if (sub!=ERR) sub=sub_fribidi(sub,sub_utf8,0);