[vlc-commits] [Git][videolan/vlc][master] demux: mp4: use correct CC field when extracting from cdt2

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri May 19 16:25:26 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
bb24a922 by Sebastian Dröge at 2023-05-19T16:07:02+00:00
demux: mp4: use correct CC field when extracting from cdt2

This accidentally stored cdt2 as field 0/cc1 instead of field 1/cc2.

- - - - -


1 changed file:

- modules/demux/mp4/mp4.c


Changes:

=====================================
modules/demux/mp4/mp4.c
=====================================
@@ -765,7 +765,7 @@ static block_t * MP4_EIA608_Convert( block_t * p_block )
     }
 
     while (cdt2_size > 0) {
-         *(out++) = CC_PKT_BYTE0(0); /* cc1 == field 0 */
+         *(out++) = CC_PKT_BYTE0(1); /* cc2 == field 1 */
          *(out++) = *(cdt2++);
          *(out++) = *(cdt2++);
          cdt2_size -= 2;



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/bb24a922a4657eb21a71c705ae0a7ad3c79aec11
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list