OSDN Git Service

One-bit bitfields should probably be unsigned. Unfortunately, it is left
authorErik Hovland <erik@hovland.org>
Tue, 8 Jul 2008 23:20:22 +0000 (23:20 +0000)
committerPanagiotis Issaris <takis.issaris@uhasselt.be>
Tue, 8 Jul 2008 23:20:22 +0000 (23:20 +0000)
commit72e043dd0fd2f216525285827531180af494b8a1
tree7650c8034e24f84396cd8c0c3ca6361ef4d197c0
parentd921f03fccfa931427fbe85a0a0721dc51d1d2d8
One-bit bitfields should probably be unsigned. Unfortunately, it is left
up to the compiler on how one bit fields are treated. gcc treats one-bit
bitfields as signed and allows for the -funsigned-field parameter. Other
compilers (like Sun C) treat one-bit bitfields as unsigned no matter what.
Patch by Erik Hovland erik hovland org

Originally committed as revision 14131 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavdevice/audio.c
libavformat/avformat.h
libavformat/mpegts.c