This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: v4l-utils/contrib/gconv: fix conversion errors on ARIB-STD-B24 strings
Author:  Akihiro Tsukada <tsk...@gmail.com>
Date:    Sat Apr 13 22:36:01 2024 +0900

Some ARIB strings in operation requires that
codepoints from the 'extra symbols' charset fallback to 'kanji'.
Remove the range check for 'extra symbols' to accept those strings.

Signed-off-by: Akihiro Tsukada <tsk...@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@kernel.org>

 contrib/gconv/arib-std-b24.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=b13cb2cdedb224458e8c5932bccc7cf9bac18081
diff --git a/contrib/gconv/arib-std-b24.c b/contrib/gconv/arib-std-b24.c
index 704c2d48c738..56e46612aa28 100644
--- a/contrib/gconv/arib-std-b24.c
+++ b/contrib/gconv/arib-std-b24.c
@@ -494,8 +494,10 @@ b24_char_conv (int set, unsigned char c1, unsigned char 
c2, uint32_t *out)
 
            return 1;
          }
-       if (set == EXTRA_SYMBOLS_set)
-         return 0;
+       /* Some ARIB strings somehow require that
+        * EXTRA_SYMBOLS codepoints fallback to KANJI_set.
+        * so just fall through here.
+        */
 
        /* non-JISX0213 modification. (combining chars) */
        if (c1 == 0x22 && c2 == 0x7e)

Reply via email to