[vlc-devel] [vlc-commits] packetizer: mpegvideo: parse color details if present
ileoo at videolan.org
Tue May 10 20:24:01 CEST 2016
On Sat, Apr 23, 2016 at 09:57:14PM +0100, Filipe Cabecinhas wrote:
> Rémi is talking about the C99 standard. You’re converting a uint8_t (from 0x00 to 0xff) into an int8_t. The value in the uint8_t may be out of range of the new type, which would trigger Undefined Behaviour.
> It *might* seem to work, but that’s not enough.
I was referring to C99 126.96.36.199, but it's not something that I feel that
strong and I'll push fix to change the variable to unsigned int.
Let the people think they govern and they will be governed.
-- William Penn, founder of Pennsylvania
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the vlc-devel