author | Yan Yan <yan.yan@amlogic.com> | 2017-12-18 12:09:00 (GMT) |
---|---|---|
committer | Yan Yan <yan.yan@amlogic.com> | 2017-12-19 03:52:34 (GMT) |
commit | 7ba342540bc2c213f9b1ee36ba182582e530bbd0 (patch) | |
tree | b7266f5afea9d9a0017a5c14fbe718c490b6388b | |
parent | 06ec359bd1c5014b6721f423bb6eb4387de42c3f (diff) | |
download | libzvbi-7ba342540bc2c213f9b1ee36ba182582e530bbd0.zip libzvbi-7ba342540bc2c213f9b1ee36ba182582e530bbd0.tar.gz libzvbi-7ba342540bc2c213f9b1ee36ba182582e530bbd0.tar.bz2 |
DTVCC: The soft-link symbol '-' 0xAD is convert to minus symbol.
PD# NONE
Change-Id: I15828862d0887a047ba33668b4472bc234b10a6c
-rw-r--r-- | src/dtvcc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dtvcc.c b/src/dtvcc.c index c9802a8..4c7f685 100644 --- a/src/dtvcc.c +++ b/src/dtvcc.c @@ -2240,7 +2240,9 @@ dtvcc_unicode (unsigned int c) return 0; } else if (likely (c < 0x100)) { /* G0, G1 */ - if (unlikely (0x7F == c)) + if (unlikely (0xAD == c)) + return 0x2D; + else if (unlikely (0x7F == c)) return 0x266A; /* music note */ else return c; |