[vlc-commits] [Git][videolan/vlc][master] AV1: fix closed captions detection

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Oct 31 04:42:36 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
c7834066 by Rodrigo Madera at 2026-10-31T03:07:43+00:00
AV1: fix closed captions detection

Commit aad7944a has a faulty string "\x00\x0x31GA94\x03" that should be actually "\x00\x31GA94\x03".

AV1 streams decoded by dav1d therefore never exposed their CEA-608/708 captions since aad7944a5a1.

- - - - -


1 changed file:

- modules/codec/dav1d.c


Changes:

=====================================
modules/codec/dav1d.c
=====================================
@@ -233,7 +233,7 @@ static void ExtractCaptions(decoder_t *dec, const Dav1dPicture *img)
     const Dav1dITUTT35 *itu_t35 = img->itut_t35;
     if(itu_t35 && itu_t35->country_code == 0xb5 &&
        itu_t35->payload_size > 9 &&
-       !memcmp(itu_t35->payload, "\x00\x0x31GA94\x03", 7))
+       !memcmp(itu_t35->payload, "\x00\x31GA94\x03", 7))
     {
         cc_Extract(&p_sys->cc, CC_PAYLOAD_GA94, true,
                    &itu_t35->payload[7], itu_t35->payload_size - 7);



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c7834066e27cf07a2a15f1e8aab17c12df97e5d4

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c7834066e27cf07a2a15f1e8aab17c12df97e5d4
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list