diff options
author | Travis Tilley <lv@gentoo.org> | 2004-04-28 04:43:52 +0000 |
---|---|---|
committer | Travis Tilley <lv@gentoo.org> | 2004-04-28 04:43:52 +0000 |
commit | f8389f9ba80c7d4fd4eecf98b891524b5f1a1058 (patch) | |
tree | 2ad5a372b5bc3c7a9cc00941422eec462381bd38 /media-libs/faad2/files/faad2-2.0-gcc34.patch | |
parent | ver bump #49237 / #44122 (diff) | |
download | gentoo-2-f8389f9ba80c7d4fd4eecf98b891524b5f1a1058.tar.gz gentoo-2-f8389f9ba80c7d4fd4eecf98b891524b5f1a1058.tar.bz2 gentoo-2-f8389f9ba80c7d4fd4eecf98b891524b5f1a1058.zip |
gcc 3.4 fix
Diffstat (limited to 'media-libs/faad2/files/faad2-2.0-gcc34.patch')
-rw-r--r-- | media-libs/faad2/files/faad2-2.0-gcc34.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/faad2/files/faad2-2.0-gcc34.patch b/media-libs/faad2/files/faad2-2.0-gcc34.patch new file mode 100644 index 000000000000..c56f4dca49f9 --- /dev/null +++ b/media-libs/faad2/files/faad2-2.0-gcc34.patch @@ -0,0 +1,48 @@ +--- common/mp4v2/mp4property.h.old 2003-06-29 22:41:00.000000000 +0100 ++++ common/mp4v2/mp4property.h 2004-04-23 18:33:37.751587448 +0100 +@@ -58,7 +58,7 @@ + return m_name; + } + +- virtual MP4PropertyType GetType() = NULL; ++ virtual MP4PropertyType GetType(const char *name = NULL); + + bool IsReadOnly() { + return m_readOnly; +@@ -74,17 +74,18 @@ + m_implicit = value; + } + +- virtual u_int32_t GetCount() = NULL; +- virtual void SetCount(u_int32_t count) = NULL; ++ virtual u_int32_t GetCount(const char *name = NULL); ++ ++ virtual void SetCount(u_int32_t count, const char *name = NULL); + + virtual void Generate() { /* default is a no-op */ }; + +- virtual void Read(MP4File* pFile, u_int32_t index = 0) = NULL; ++ virtual void Read(MP4File* pFile, u_int32_t index = 0, const char *name = NULL); + +- virtual void Write(MP4File* pFile, u_int32_t index = 0) = NULL; ++ virtual void Write(MP4File* pFile, u_int32_t index = 0, const char *name = NULL); + + virtual void Dump(FILE* pFile, u_int8_t indent, +- bool dumpImplicits, u_int32_t index = 0) = NULL; ++ bool dumpImplicits, u_int32_t index = 0, const char *name = NULL); + + virtual bool FindProperty(const char* name, + MP4Property** ppProperty, u_int32_t* pIndex = NULL); +--- common/mp4v2/rtphint.h.old 2003-06-29 22:41:00.000000000 +0100 ++++ common/mp4v2/rtphint.h 2004-04-23 18:33:37.751587448 +0100 +@@ -35,8 +35,8 @@ + return m_pPacket; + } + +- virtual u_int16_t GetDataSize() = NULL; +- virtual void GetData(u_int8_t* pDest) = NULL; ++ virtual u_int16_t GetDataSize(const char *name = NULL); ++ virtual void GetData(u_int8_t* pDest, const char *name = NULL); + + MP4Track* FindTrackFromRefIndex(u_int8_t refIndex); + |