This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 2ec7bc915e avcodec/ccaption_dec: fix EIA-608 Extended Character Set 
single quote mappings
2ec7bc915e is described below

commit 2ec7bc915e56c4f3cb71bb4f96c7d900965b6c82
Author:     Sankalpa Sarkar <[email protected]>
AuthorDate: Sun Feb 22 13:45:09 2026 +0530
Commit:     michaelni <[email protected]>
CommitDate: Wed Nov 4 15:13:21 2026 +0000

    avcodec/ccaption_dec: fix EIA-608 Extended Character Set single quote 
mappings
    
    Fix two incorrect Unicode mappings in the CCSET_EXTENDED_SPANISH_FRENCH_MISC
    character set:
    
    1. OPENING SINGLE QUOTE (0x26) was incorrectly mapped to U+00B4 ACUTE 
ACCENT.
       Per CTA-608-E Section 6.4.2, it should map to U+2018 LEFT SINGLE 
QUOTATION
       MARK to mirror the standard apostrophe (U+2019), which is already 
correctly
       mapped in the basic character set.
    
    2. PLAIN SINGLE QUOTE (0x29) was incorrectly mapped to U+2018 LEFT SINGLE
       QUOTATION MARK. It should map to U+0027 APOSTROPHE, the neutral 
(vertical)
       glyph.
    
    Fixes: https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/21332
    Signed-off-by: Sankalpa Sarkar <[email protected]>
---
 libavcodec/ccaption_dec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/ccaption_dec.c b/libavcodec/ccaption_dec.c
index 9b6c766d87..fc49a2cb0b 100644
--- a/libavcodec/ccaption_dec.c
+++ b/libavcodec/ccaption_dec.c
@@ -108,10 +108,10 @@ enum cc_charset {
         ENTRY(0x23, "\u00da")                            \
         ENTRY(0x24, "\u00dc")                            \
         ENTRY(0x25, "\u00fc")                            \
-        ENTRY(0x26, "\u00b4")                            \
+        ENTRY(0x26, "\u2018")                            \
         ENTRY(0x27, "\u00a1")                            \
         ENTRY(0x28, "*")                                 \
-        ENTRY(0x29, "\u2018")                            \
+        ENTRY(0x29, "'")                                 \
         ENTRY(0x2a, "-")                                 \
         ENTRY(0x2b, "\u00a9")                            \
         ENTRY(0x2c, "\u2120")                            \

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to