summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorErik Hovland <erik@hovland.org>2008-07-08 23:20:22 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2008-07-08 23:20:22 +0000
commit72e043dd0fd2f216525285827531180af494b8a1 (patch)
tree7650c8034e24f84396cd8c0c3ca6361ef4d197c0 /libavformat/avformat.h
parentd921f03fccfa931427fbe85a0a0721dc51d1d2d8 (diff)
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
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index af93b7cff2..93ed4ae1f0 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -160,13 +160,13 @@ typedef struct AVFormatParameters {
enum PixelFormat pix_fmt;
int channel; /**< used to select dv channel */
const char *standard; /**< tv standard, NTSC, PAL, SECAM */
- int mpeg2ts_raw:1; /**< force raw MPEG2 transport stream output, if possible */
- int mpeg2ts_compute_pcr:1; /**< compute exact PCR for each transport
- stream packet (only meaningful if
- mpeg2ts_raw is TRUE) */
- int initial_pause:1; /**< do not begin to play the stream
- immediately (RTSP only) */
- int prealloced_context:1;
+ unsigned int mpeg2ts_raw:1; /**< force raw MPEG2 transport stream output, if possible */
+ unsigned int mpeg2ts_compute_pcr:1; /**< compute exact PCR for each transport
+ stream packet (only meaningful if
+ mpeg2ts_raw is TRUE) */
+ unsigned int initial_pause:1; /**< do not begin to play the stream
+ immediately (RTSP only) */
+ unsigned int prealloced_context:1;
#if LIBAVFORMAT_VERSION_INT < (53<<16)
enum CodecID video_codec_id;
enum CodecID audio_codec_id;