Fix: Check for \r in UCS2 alphabets

This commit is contained in:
Denis Kenzior 2010-02-03 23:28:41 -06:00
parent 2f6c2978ea
commit fa433a6acc
1 changed files with 1 additions and 1 deletions

View File

@ -3160,7 +3160,7 @@ char *cbs_decode_text(GSList *cbs_list, char *iso639_lang)
}
while (i < max_offset) {
if (ud[i] == 0x00 && ud[i] == '\r')
if (ud[i] == 0x00 && ud[i+1] == '\r')
break;
buf[bufsize] = ud[i];