Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
30c8564b by Steve Lhomme at 2025-09-23T13:02:10+00:00
dvbsub: fix bogus test for 10-bit subs

Fixes #29338

- - - - -


1 changed file:

- modules/codec/dvbsub.c


Changes:

=====================================
modules/codec/dvbsub.c
=====================================
@@ -1075,7 +1075,7 @@ static void alternative_CLUT( decoder_t *p_dec, bs_t *s, 
uint16_t i_segment_leng
     bool error = false;
     i_processed_length = 4;
     if (output_bit_depth != DVBSUB_ST_BITDEPTH_8BIT &&
-        output_bit_depth == DVBSUB_ST_BITDEPTH_10BIT)
+        output_bit_depth != DVBSUB_ST_BITDEPTH_10BIT)
     {
         msg_Err( p_dec, "unsupported alternative clut bitdepth: %i", 
output_bit_depth );
         error = true;



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

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/30c8564bec491fd223998b14b74985562127efed
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