Commit 020620ba authored by Mirsal Ennaime's avatar Mirsal Ennaime

xiph demux: _correctly_ remove warning

Thanks, j-b
parent ea5e62b5
......@@ -48,8 +48,10 @@ static inline int xiph_SplitHeaders(unsigned packet_size[], void *packet[], unsi
}
size += packet_size[i];
}
if (end - current < (int)size)
if ((uint8_t)(end - current) < size)
return VLC_EGENERIC;
packet_size[count - 1] = end - current - size;
/* Copy the payloads */
......
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