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
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to