118 Commits

Author SHA1 Message Date
Moritz Bunkus
44e91f4d61 Do not try to free() pointers pointing to member variables
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@52 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-23 15:01:34 +00:00
Steve Lhomme
2af68ddc15 explain why the USEINCLUDE corec is necessary even when core-c is not used (because of the IF in coremake .proj files)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@45 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-19 15:36:08 +00:00
Steve Lhomme
c805d4e4b9 introduce filepos_t for all the file position values (depends wether the system can handle 32 bits or 64 bits offsets)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@44 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-19 15:35:26 +00:00
Steve Lhomme
c65c916543 use a macro for the EbmlMaster iterator as it may differ between versions of libebml
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@39 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-18 17:08:57 +00:00
Steve Lhomme
1a8c8cc66a fix the iterator use in the copy constructors
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@38 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-18 17:07:58 +00:00
Steve Lhomme
9d3a11f774 the internal GetData() is the same as GetBuffer()
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@31 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-17 18:34:22 +00:00
Steve Lhomme
85b35ff739 new macros to hide the internal variables of the context classes
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@23 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-17 10:26:39 +00:00
Steve Lhomme
99cfc345c2 update the copyright notice to 2010
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@18 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:19:18 +00:00
Steve Lhomme
781ba62fa0 add a macro to define all the pure virtual methods in a "concrete" EBML class (that correspond to an item in EBML streams)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@16 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:11:24 +00:00
Steve Lhomme
26cd86379b add macros to access the EbmlId internal variables
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@15 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:08:31 +00:00
Steve Lhomme
2c2dc8845d add some macros to access the EBML ID/Context and use them
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@14 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:07:14 +00:00
Steve Lhomme
55957a351e use the new accessors internally
+ make the new accessors inline

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@13 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:03:51 +00:00
Steve Lhomme
b40cb3a52a reordering and misc cleaning
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@9 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 15:58:12 +00:00
Steve Lhomme
0bb4f6645a cast to EbmlId instead of accessing Generic() GlobalId directly
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@8 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 15:57:04 +00:00
Steve Lhomme
44d2a6d2ed use a safer type cast rather than setting the internal values directly
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@7 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 15:56:05 +00:00
Steve Lhomme
a5e3439cee integer and boolean variables don't need a const when used as parameters
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@6 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 15:55:14 +00:00
Steve Lhomme
93a6b331ff fix the coremake project for inclusion in other projects
use HAVE_EBML2 in the config.h file to use libebml2 instead of libebml

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@5 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 15:53:28 +00:00
Steve Lhomme
2ad6f1d24b move the sources from the dead coreforge server
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@1 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-02-18 08:13:06 +00:00