[FFmpeg-devel] [PATCH] change one bit fields to unsigned
Reimar Döffinger
Reimar.Doeffinger
Tue Jul 8 21:48:11 CEST 2008
On Tue, Jul 08, 2008 at 12:30:46PM -0700, Erik Hovland wrote:
> The sign of one bit fields is entirely compiler dependent it seems. But
> it is a good idea to declare them as unsigned since gcc usually treats
> using just 'int' as signed.
Except 4.2.0 which treats them always as 0 (another 30 minutes wasted
due to a compiler bug back then).
In light of above, I wouldn't mind it, it seems more reliable, but the
question is why do you want this change? Why would it matter if it is
signed or unsigned?
Greetings,
Reimar D?ffinger
More information about the ffmpeg-devel
mailing list