Commit eab5d761 authored by Georgi Chorbadzhiyski's avatar Georgi Chorbadzhiyski

mpeg/psi/psi: Set the two reserved bits in psi_set_version().

parent f36e82c0
...@@ -215,7 +215,7 @@ static inline uint16_t psi_get_tableidext(const uint8_t *p_section) ...@@ -215,7 +215,7 @@ static inline uint16_t psi_get_tableidext(const uint8_t *p_section)
static inline void psi_set_version(uint8_t *p_section, uint8_t i_version) static inline void psi_set_version(uint8_t *p_section, uint8_t i_version)
{ {
p_section[5] = i_version << 1; p_section[5] = (i_version << 1) | 0xc0;
} }
static inline uint8_t psi_get_version(const uint8_t *p_section) static inline uint8_t psi_get_version(const uint8_t *p_section)
......
Markdown is supported
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