codec_kit: Add some padding

This commit is contained in:
Barrett17
2018-10-28 16:14:25 +01:00
parent 4269364345
commit 8ccd9c0741
6 changed files with 19 additions and 2 deletions
+1
View File
@@ -19,6 +19,7 @@ public:
media_header* mediaHeader) = 0;
};
class Decoder {
public:
Decoder();
+2
View File
@@ -93,6 +93,8 @@ private:
int32 fStreamCount;
media_file_format fFileFormat;
uint32 fReserved[5];
};
} // namespace media
+5
View File
@@ -19,6 +19,11 @@ private:
friend class PluginManager;
int32 fRefCount;
virtual void _ReservedMediaPlugin1();
virtual void _ReservedMediaPlugin2();
uint32 fReserved[5];
};
class Decoder;
+5
View File
@@ -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];
};
+2 -2
View File
@@ -53,10 +53,10 @@ private:
BDataIO* fTarget;
Writer* fWriter;
List<StreamInfo> fStreamInfos;
media_file_format fFileFormat;
uint32 fReserved[5];
};
+4
View File
@@ -18,3 +18,7 @@ MediaPlugin::~MediaPlugin()
{
}
// FBC
void MediaPlugin::_ReservedMediaPlugin1() {}
void MediaPlugin::_ReservedMediaPlugin2() {}