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:
parent
57a5afa736
commit
f3d7179ab8
@ -2679,4 +2679,4 @@ const char *cs_GetLastError(CompressedStream *cs)
|
||||
return NULL;
|
||||
return cs->errmsg;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user