Commit ea5e62b5 authored by Andri Pálsson's avatar Andri Pálsson Committed by Mirsal Ennaime

xiph demux: Kill a warning (comparison betw. signed and unsigned)

Signed-off-by: default avatarMirsal Ennaime <mirsal@mirsal.fr>
parent 1bb6f8e2
...@@ -48,7 +48,7 @@ static inline int xiph_SplitHeaders(unsigned packet_size[], void *packet[], unsi ...@@ -48,7 +48,7 @@ static inline int xiph_SplitHeaders(unsigned packet_size[], void *packet[], unsi
} }
size += packet_size[i]; size += packet_size[i];
} }
if (end - current < size) if (end - current < (int)size)
return VLC_EGENERIC; return VLC_EGENERIC;
packet_size[count - 1] = end - current - size; packet_size[count - 1] = end - current - size;
......
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