codec_kit: Add some padding
This commit is contained in:
@@ -19,6 +19,7 @@ public:
|
|||||||
media_header* mediaHeader) = 0;
|
media_header* mediaHeader) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class Decoder {
|
class Decoder {
|
||||||
public:
|
public:
|
||||||
Decoder();
|
Decoder();
|
||||||
|
|||||||
@@ -93,6 +93,8 @@ private:
|
|||||||
int32 fStreamCount;
|
int32 fStreamCount;
|
||||||
|
|
||||||
media_file_format fFileFormat;
|
media_file_format fFileFormat;
|
||||||
|
|
||||||
|
uint32 fReserved[5];
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace media
|
} // namespace media
|
||||||
|
|||||||
@@ -19,6 +19,11 @@ private:
|
|||||||
friend class PluginManager;
|
friend class PluginManager;
|
||||||
|
|
||||||
int32 fRefCount;
|
int32 fRefCount;
|
||||||
|
|
||||||
|
virtual void _ReservedMediaPlugin1();
|
||||||
|
virtual void _ReservedMediaPlugin2();
|
||||||
|
|
||||||
|
uint32 fReserved[5];
|
||||||
};
|
};
|
||||||
|
|
||||||
class Decoder;
|
class Decoder;
|
||||||
|
|||||||
@@ -25,6 +25,11 @@ public:
|
|||||||
private:
|
private:
|
||||||
BUrl fUrl;
|
BUrl fUrl;
|
||||||
Streamer* fStreamer;
|
Streamer* fStreamer;
|
||||||
|
|
||||||
|
// No virtual padding needed. Looks like a design decision.
|
||||||
|
// Let's respect that, for now.
|
||||||
|
// Same apply to MediaWriter and MediaExtractor.
|
||||||
|
uint32 fReserved[5];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -53,10 +53,10 @@ private:
|
|||||||
|
|
||||||
BDataIO* fTarget;
|
BDataIO* fTarget;
|
||||||
Writer* fWriter;
|
Writer* fWriter;
|
||||||
|
|
||||||
List<StreamInfo> fStreamInfos;
|
List<StreamInfo> fStreamInfos;
|
||||||
|
|
||||||
media_file_format fFileFormat;
|
media_file_format fFileFormat;
|
||||||
|
|
||||||
|
uint32 fReserved[5];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,3 +18,7 @@ MediaPlugin::~MediaPlugin()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// FBC
|
||||||
|
void MediaPlugin::_ReservedMediaPlugin1() {}
|
||||||
|
void MediaPlugin::_ReservedMediaPlugin2() {}
|
||||||
|
|||||||
Reference in New Issue
Block a user