Commit c73ad6e7 authored by Mirsal Ennaime's avatar Mirsal Ennaime

Revert "xiph demux: _correctly_ remove warning"

Sorry about that

This reverts commit 020620ba.
parent 40fb9a1c
......@@ -48,10 +48,8 @@ static inline int xiph_SplitHeaders(unsigned packet_size[], void *packet[], unsi
}
size += packet_size[i];
}
if ((uint8_t)(end - current) < size)
if (end - current < (int)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