removed unnamed structs and unions

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9728 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper
2004-11-02 00:13:05 +00:00
parent 57a5afa736
commit f3d7179ab8
2 changed files with 1 additions and 9 deletions
@@ -2679,4 +2679,4 @@ const char *cs_GetLastError(CompressedStream *cs)
return NULL; return NULL;
return cs->errmsg; return cs->errmsg;
} }
#endif #endif
@@ -131,15 +131,12 @@ struct TrackInfo {
void *CodecPrivate; void *CodecPrivate;
unsigned CodecPrivateSize; unsigned CodecPrivateSize;
unsigned CompMethod; unsigned CompMethod;
struct {
unsigned int Enabled:1; unsigned int Enabled:1;
unsigned int Default:1; unsigned int Default:1;
unsigned int Lacing:1; unsigned int Lacing:1;
unsigned int DecodeAll:1; unsigned int DecodeAll:1;
unsigned int CompEnabled:1; unsigned int CompEnabled:1;
};
union {
struct { struct {
unsigned char StereoMode; unsigned char StereoMode;
unsigned char DisplayUnit; unsigned char DisplayUnit;
@@ -150,9 +147,7 @@ struct TrackInfo {
unsigned int DisplayHeight; unsigned int DisplayHeight;
unsigned int ColourSpace; unsigned int ColourSpace;
MKFLOAT GammaValue; MKFLOAT GammaValue;
struct {
unsigned int Interlaced:1; unsigned int Interlaced:1;
};
} Video; } Video;
struct { struct {
MKFLOAT SamplingFreq; MKFLOAT SamplingFreq;
@@ -160,7 +155,6 @@ struct TrackInfo {
unsigned char Channels; unsigned char Channels;
unsigned char BitDepth; unsigned char BitDepth;
} Audio; } Audio;
};
/* various strings */ /* various strings */
char *Name; char *Name;
@@ -223,14 +217,12 @@ struct Chapter {
unsigned nCommands,nCommandsSize; unsigned nCommands,nCommandsSize;
struct ChapterCommand *Commands; struct ChapterCommand *Commands;
struct {
unsigned int Hidden:1; unsigned int Hidden:1;
unsigned int Enabled:1; unsigned int Enabled:1;
// Editions // Editions
unsigned int Managed:1; unsigned int Managed:1;
unsigned int Default:1; unsigned int Default:1;
};
}; };
typedef struct Chapter Chapter; typedef struct Chapter Chapter;