Browse Source

codec: cc: fix mask size for 708 captions

refs #29219

(cherry picked from commit 7c5cd6e736)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3.0.x
François Cartegnie 1 year ago
committed by Steve Lhomme
parent
commit
be17eee393
  1. 2
      modules/codec/cc.h

2
modules/codec/cc.h

@ -158,7 +158,7 @@ static inline void cc_ProbeCEA708OneByte( cc_data_t *c, bool b_start, const uint
uint8_t i_extsid = cc & 0x3F;
if( i_extsid >= 0x07 )
{
const uint8_t mask = (1 << --i_extsid);
const uint64_t mask = (INT64_C(1) << --i_extsid);
c->i_708channels |= (mask + (mask - 1));
}
if( c->cea708.sid_bs == 0 )

Loading…
Cancel
Save