[vlc-commits] [Git][videolan/vlc][3.0.x] demux: mp4: use correct CC field when extracting from cdt2
François Cartegnie (@fcartegnie)
gitlab at videolan.org
Sun Sep 6 15:24:38 UTC 2026
François Cartegnie pushed to branch 3.0.x at VideoLAN / VLC
Commits:
9a0f13b9 by Sebastian Dröge at 2026-09-06T17:14:02+02:00
demux: mp4: use correct CC field when extracting from cdt2
This accidentally stored cdt2 as field 0/cc1 instead of field 1/cc2.
(adapted from commit bb24a922a4657eb21a71c705ae0a7ad3c79aec11)
- - - - -
1 changed file:
- modules/demux/mp4/mp4.c
Changes:
=====================================
modules/demux/mp4/mp4.c
=====================================
@@ -578,7 +578,7 @@ static block_t * MP4_EIA608_Convert( block_t * p_block )
i_remaining -= 8;
do
{
- p_write[i_copied++] = CC_PKT_BYTE0(0); /* cc1 == field 0 */
+ p_write[i_copied++] = CC_PKT_BYTE0(1); /* cc2 == field 1 */
p_write[i_copied++] = p_read[0];
p_write[i_copied++] = p_read[1];
p_read += 2;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9a0f13b952db9896e895dcc1b39600cb8afe9242
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9a0f13b952db9896e895dcc1b39600cb8afe9242
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