Commit 5dcd90ab authored by Christophe Massiot's avatar Christophe Massiot
Browse files

Merge branch 'funman-csa'

parents b3b6b53e d9f6e999
......@@ -150,6 +150,11 @@ static inline uint8_t ts_get_adaptation(const uint8_t *p_ts)
return p_ts[4];
}
/* not technically defined in ISO-13818, but this seems to be the industry consensus */
#define TS_SCRAMBLING_CLEAR 0
#define TS_SCRAMBLING_EVEN 2
#define TS_SCRAMBLING_ODD 3
static inline void ts_set_scrambling(uint8_t *p_ts, uint8_t i_scrambling)
{
p_ts[3] &= ~0xc0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment