codec_kit: Add some padding
This commit is contained in:
@@ -19,6 +19,7 @@ public:
|
||||
media_header* mediaHeader) = 0;
|
||||
};
|
||||
|
||||
|
||||
class Decoder {
|
||||
public:
|
||||
Decoder();
|
||||
|
||||
@@ -93,6 +93,8 @@ private:
|
||||
int32 fStreamCount;
|
||||
|
||||
media_file_format fFileFormat;
|
||||
|
||||
uint32 fReserved[5];
|
||||
};
|
||||
|
||||
} // namespace media
|
||||
|
||||
@@ -19,6 +19,11 @@ private:
|
||||
friend class PluginManager;
|
||||
|
||||
int32 fRefCount;
|
||||
|
||||
virtual void _ReservedMediaPlugin1();
|
||||
virtual void _ReservedMediaPlugin2();
|
||||
|
||||
uint32 fReserved[5];
|
||||
};
|
||||
|
||||
class Decoder;
|
||||
|
||||
@@ -25,6 +25,11 @@ public:
|
||||
private:
|
||||
BUrl fUrl;
|
||||
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;
|
||||
Writer* fWriter;
|
||||
|
||||
List<StreamInfo> fStreamInfos;
|
||||
|
||||
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