author | Yan Yan <yan.yan@amlogic.com> | 2017-11-14 08:17:09 (GMT) |
---|---|---|
committer | Yan Yan <yan.yan@amlogic.com> | 2017-11-14 08:17:09 (GMT) |
commit | e8ac8e6344515bb1d1fa42384d62919610ecdd2f (patch) | |
tree | d2bb813bf902885c09d8ce48bf2b3b51e375cd25 | |
parent | 709a9dbc1bcd53a183ee636fe0f5b8ea365a2b41 (diff) | |
download | libzvbi-e8ac8e6344515bb1d1fa42384d62919610ecdd2f.zip libzvbi-e8ac8e6344515bb1d1fa42384d62919610ecdd2f.tar.gz libzvbi-e8ac8e6344515bb1d1fa42384d62919610ecdd2f.tar.bz2 |
cc: Fix parity test
PD# 152764
Change-Id: I2f24523c50cd90a8a6acb0c86e32dc9f164db08b
-rwxr-xr-x | src/caption.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caption.c b/src/caption.c index d15ad4d..a58cfac 100755 --- a/src/caption.c +++ b/src/caption.c @@ -1349,9 +1349,13 @@ vbi_decode_caption(vbi_decoder *vbi, int line, uint8_t *buf) //if ( (buf[0]) < 0) { //vbi_unpar8 (buf[0]) < 0 if ( vbi_unpar8 (buf[0]) < 0) { // +#if 0 c1 = 127; buf[0] = c1; /* traditional 'bad' glyph, ccfont has */ buf[1] = c1; /* room, design a special glyph? */ +#else + goto finish; +#endif } CC_DUMP( |