PR #26031 opened by Baptiste Coudurier (bcoudurier)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26031
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26031.patch

CEA-608 extended characters 0x2a and 0x2d (Spanish/French/misc set) are em dash 
and round bullet; map them to U+2014 and U+2022 instead of `-` and U+00B7.

Fixes #25699

🤖 Generated with [Claude Code](https://claude.com/claude-code)



From e2335e90804e5c29cb7b9d0e9b9240478e6a526f Mon Sep 17 00:00:00 2001
From: Baptiste Coudurier <[email protected]>
Date: Fri, 13 Nov 2026 12:54:24 -0800
Subject: [PATCH] avcodec/ccaption_dec: fix em dash and round bullet extended
 mappings

0x2a and 0x2d of the Spanish/French/misc set are em dash and round bullet.

Fixes: https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/25699

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Baptiste Coudurier <[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 fc49a2cb0b6..489625489d7 100644
--- a/libavcodec/ccaption_dec.c
+++ b/libavcodec/ccaption_dec.c
@@ -112,10 +112,10 @@ enum cc_charset {
         ENTRY(0x27, "\u00a1")                            \
         ENTRY(0x28, "*")                                 \
         ENTRY(0x29, "'")                                 \
-        ENTRY(0x2a, "-")                                 \
+        ENTRY(0x2a, "\u2014")                            \
         ENTRY(0x2b, "\u00a9")                            \
         ENTRY(0x2c, "\u2120")                            \
-        ENTRY(0x2d, "\u00b7")                            \
+        ENTRY(0x2d, "\u2022")                            \
         ENTRY(0x2e, "\u201c")                            \
         ENTRY(0x2f, "\u201d")                            \
         ENTRY(0x30, "\u00c0")                            \
-- 
2.54.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to