Commit f95529b6 authored by Georgi Chorbadzhiyski's avatar Georgi Chorbadzhiyski
Browse files

desc 48: Update 'desc48_get_provider' to match 'desc48_get_service'

parent a922cec6
...@@ -72,10 +72,10 @@ static inline void desc48_set_provider(uint8_t *p_desc, ...@@ -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;
} }
......
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