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

View File

@ -2679,4 +2679,4 @@ const char *cs_GetLastError(CompressedStream *cs)
return NULL;
return cs->errmsg;
}
#endif
#endif

View File

@ -131,15 +131,12 @@ struct TrackInfo {
void *CodecPrivate;
unsigned CodecPrivateSize;
unsigned CompMethod;
struct {
unsigned int Enabled:1;
unsigned int Default:1;
unsigned int Lacing:1;
unsigned int DecodeAll:1;
unsigned int CompEnabled:1;
};
union {
struct {
unsigned char StereoMode;
unsigned char DisplayUnit;
@ -150,9 +147,7 @@ struct TrackInfo {
unsigned int DisplayHeight;
unsigned int ColourSpace;
MKFLOAT GammaValue;
struct {
unsigned int Interlaced:1;
};
} Video;
struct {
MKFLOAT SamplingFreq;
@ -160,7 +155,6 @@ struct TrackInfo {
unsigned char Channels;
unsigned char BitDepth;
} Audio;
};
/* various strings */
char *Name;
@ -223,14 +217,12 @@ struct Chapter {
unsigned nCommands,nCommandsSize;
struct ChapterCommand *Commands;
struct {
unsigned int Hidden:1;
unsigned int Enabled:1;
// Editions
unsigned int Managed:1;
unsigned int Default:1;
};
};
typedef struct Chapter Chapter;