Browse Source

Merge branch 'gfto-desc_48-fix'

master
Christophe Massiot 7 years ago
parent
commit
2bb9f98e9f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      dvb/si/desc_48.h

+ 2
- 2
dvb/si/desc_48.h View File

@ -72,10 +72,10 @@ static inline void desc48_set_provider(uint8_t *p_desc,
memcpy(p + 1, p_provider, i_length); memcpy(p + 1, p_provider, i_length);
} }
static inline const uint8_t *desc48_get_provider(const uint8_t *p_desc,
static inline uint8_t *desc48_get_provider(const uint8_t *p_desc,
uint8_t *pi_length) uint8_t *pi_length)
{ {
const uint8_t *p = p_desc + DESC48_HEADER_SIZE;
uint8_t *p = p_desc + DESC48_HEADER_SIZE;
*pi_length = p[0]; *pi_length = p[0];
return p + 1; return p + 1;
} }

Loading…
Cancel
Save