diff options
-rw-r--r-- | subreader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subreader.c b/subreader.c index 74a85a2a75..4f8782353d 100644 --- a/subreader.c +++ b/subreader.c @@ -1433,7 +1433,7 @@ sub_data* sub_read_file (char *filename, float fps) { 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); |