[vlc-commits] Fix rendering of inverted exclamation marked (used for Spanish) (CC)

Devin Heitmueller git at videolan.org
Tue Sep 13 00:30:15 CEST 2011


vlc | branch: master | Devin Heitmueller <dheitmueller at kernellabs.com> | Mon Sep 12 23:30:14 2011 +0200| [461ebf064c8d36f502eccf0aa0686bec2eac266a] | committer: Laurent Aimar

Fix rendering of inverted exclamation marked (used for Spanish) (CC)

Properly the renderer to properly show the inverted exclamation mark, common
in Spanish.

Validated with the WGBH EIA-608 test stream.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=461ebf064c8d36f502eccf0aa0686bec2eac266a
---

 modules/codec/cc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/cc.c b/modules/codec/cc.c
index 8715834..6b83c47 100644
--- a/modules/codec/cc.c
+++ b/modules/codec/cc.c
@@ -838,7 +838,7 @@ static void Eia608TextUtf8( char *psz_utf8, uint8_t c ) // Returns number of byt
         E2( 0x94, 0xc3,0x9c), // capital letter U with diaresis
         E2( 0x95, 0xc3,0xbc), // lowercase letter U with diaeresis
         E1( 0x96, 0x27), // apostrophe
-        E2( 0x97, 0xc1,0xa1), // inverted exclamation mark
+        E2( 0x97, 0xc2,0xa1), // inverted exclamation mark
         E1( 0x98, 0x2a), // asterisk
         E1( 0x99, 0x27), // apostrophe (yes, duped). See CCADI source code.
         E1( 0x9a, 0x2d), // hyphen-minus



More information about the vlc-commits mailing list