163 Commits

Author SHA1 Message Date
Moritz Bunkus
6d8e423ef0 KaxVersion.cpp: always set KaxCodeDate to "Unknown"
This is done in order to enable deterministic builds while still keeping
the library API and ABI compatible. Patch by Ed Schouten <ed@nuxi.nl>.
2015-11-21 10:58:21 +01:00
Moritz Bunkus
2619e001cb Bump version number, add release message release-1.4.4 2015-10-20 15:07:17 +02:00
Moritz Bunkus
76212be904 build system: require libebml >= 1.3.3 due to fixes for invalid memory access 2015-10-20 15:06:40 +02:00
Moritz Bunkus
0a2d3e3644 KaxBlockInternal: check EBML lace sizes against available buffer space 2015-10-20 12:00:53 +02:00
Moritz Bunkus
4934049696 Bump version number, add release message release-1.4.3 2015-10-17 16:02:54 +02:00
Moritz Bunkus
db5d627b5b Merge pull request #7 from DanWin/master
Some optimizations
2015-05-02 11:07:27 +02:00
Daniel Winzen
e97e1a3897 Fix memory leak 2015-05-02 10:38:11 +02:00
Daniel Winzen
bab4d91a78 Some optimizations 2015-05-02 10:37:45 +02:00
Jan Engelhardt
9466bf5f2b build: libmatroska needs to link against libebml
The library uses symbols from libebml, and so should link to it.
2015-02-02 15:12:54 +01:00
Moritz Bunkus
81edf95a02 Merge pull request #5 from phonohawk/fix-libmatroska-linkage-failure
Fix linkage failure of libmatroska due to missing -lebml flag
2015-01-22 15:26:36 +01:00
PHO
b3de2dd981 Fix linkage failure of libmatroska due to missing -lebml flag
Without this change the following linkage error occurs:

    /bin/sh ./libtool  --tag=CXX   --mode=link g++ -Wall -Wextra \
      -Wno-unknown-pragmas -Wshadow -I/usr/pkg/include   -pipe -O2 \
      -I/usr/pkg/include -version-info 6:0:0 -no-undefined -L/usr/pkg/lib \
      -o libmatroska.la -rpath /usr/pkg/lib src/FileKax.lo \
      src/KaxAttached.lo src/KaxAttachments.lo src/KaxBlock.lo \
      src/KaxBlockData.lo src/KaxCluster.lo src/KaxContexts.lo \
      src/KaxCues.lo src/KaxCuesData.lo src/KaxInfoData.lo \
      src/KaxSeekHead.lo src/KaxSegment.lo src/KaxSemantic.lo \
      src/KaxTracks.lo src/KaxVersion.lo
    Undefined symbols:
      "libebml::EbmlUnicodeString::EbmlUnicodeString()", referenced from:
          libmatroska::KaxSegmentFilename::KaxSegmentFilename()in KaxSemantic.o
          libmatroska::KaxPrevFilename::KaxPrevFilename()in KaxSemantic.o
          libmatroska::KaxNextFilename::KaxNextFilename()in KaxSemantic.o
          ...
2015-01-22 22:29:26 +09:00
Moritz Bunkus
cbf763a07e ChangeLog: add release message release-1.4.2 2015-01-04 14:31:17 +01:00
Moritz Bunkus
aa04e96218 build system: autogen.sh not needed; »autoreconf -fi« suffices 2014-12-21 11:39:59 +01:00
Moritz Bunkus
ea28fc9ab8 ChangeLog: mention the pkg-config file 2014-12-21 10:51:53 +01:00
Moritz Bunkus
cd371507d8 ChangeLog: update 2014-12-21 10:32:52 +01:00
Moritz Bunkus
0f107f8b19 build system: remove old hand-crafted make files 2014-12-21 10:32:08 +01:00
Moritz Bunkus
4052497ce5 check_ids: move to other directory 2014-12-21 10:31:45 +01:00
Moritz Bunkus
78334a0d2c build system: add autoconf/automake-based system 2014-12-21 10:28:07 +01:00
Moritz Bunkus
2260fd14b5 cosmetics: re-indent KaxBlock::ReadData() after wrapping in try/catch block 2014-12-20 17:06:47 +01:00
Moritz Bunkus
4457e70466 KaxBlock::ReadData(): use safe/checked memory access
Unchecked reading from memory locations works for cases in which all the
data is valid, but if it isn't then this leads to invalid memory access
and segmentation faults.

See https://trac.bunkus.org/ticket/1096
2014-12-20 17:06:20 +01:00
Moritz Bunkus
2e960b9b63 cosmetics: unify indentation 2014-12-19 15:17:48 +01:00
Moritz Bunkus
9655b187f2 version: bump to 1.4.2 2014-12-19 14:01:10 +01:00
Moritz Bunkus
f82f1f7889 KaxBlock: don't access beyond enf-of-buffer for one frame in EBML lacing
See https://trac.bunkus.org/ticket/1096 test case
id:000002,sig:06,src:000000,op:flip2,pos:582
2014-12-19 14:00:02 +01:00
Moritz Bunkus
ff6e0db2fe cosmetics: use spaces instead of tab characters; remove trailing whitespace 2014-12-19 00:24:39 +01:00
Moritz Bunkus
4a7222ce81 Avoid compiler warning about possible use of uninitialized values 2013-10-19 12:25:39 +02:00
Moritz Bunkus
1cb5ae4015 update ChangeLog release-1.4.1 2013-09-17 19:15:34 +02:00
Moritz Bunkus
ee8a42d2cf Merge pull request #2 from maksqwe/master
Some of the fixes and optimization
2013-08-23 10:43:19 -07:00
maksqwe
9c07d1e39d 1. add std::nothrow to new operator because then ptr checked with NULL
2. "currentNewBlock" is assigned values twice successively
3. optimize std::vector<>::iterator's usage "iter++" -> "++iter". See preincrement and postincrement operator++()
2013-08-23 00:42:18 +03:00
Steve Lhomme
82a7b7c6b8 update the library version number after merge of some new elements 2013-06-15 18:36:05 +02:00
Steve Lhomme
fb1eddb293 add support for SeekPreRoll 2013-06-15 18:27:49 +02:00
Steve Lhomme
edcf087607 add DiscardPadding and CodecDelay elements 2013-06-15 18:22:34 +02:00
Moritz Bunkus
de304c170a Merge pull request #1 from RedDwarf69/master
Linux packaging
2013-04-20 02:54:23 -07:00
Cristian Morales Vega
40a5b6e130 Update licensing information
- Substitute LICENSE.LGPL for the latest copy from http://www.gnu.org/
- Update the FSF address and links in all the file headers
- Relicense QPL/GPL files to LGPL
2013-04-20 09:57:44 +01:00
Cristian Morales Vega
e23d29d21b Use Linux-style EOL for non Windows specific files 2013-04-14 16:34:22 +01:00
Cristian Morales Vega
a8f9a28def Fix typo 2013-04-14 16:29:57 +01:00
Cristian Morales Vega
773e7d7755 Add DESTDIR option to Linux Makefile 2013-04-14 16:29:21 +01:00
Cristian Morales Vega
4f5d0b977c Add "link" option to Linux Makefile 2013-04-14 16:27:32 +01:00
Cristian Morales Vega
1a15920ee4 Stop using -ansi -fno-gnu-keywords in Linux
There is no need for -fno-gnu-keywords (which was implied by -ansi) in the
current code.
-ansi disables GCC built-in functions, which add optimizations and extra
security checks in some cases. It may be good to use it (and -pedantic) while
developing to try to keep the code ANSI standard, but users should have binaries
compiled without the option.
2013-04-14 16:23:32 +01:00
Moritz Bunkus
264a7537e5 Remove Debian build files & update ChangeLog release-1.4.0 2013-03-19 20:13:20 +01:00
Moritz Bunkus
bdcc3ef3a1 Update ChangeLog 2013-03-19 17:55:52 +01:00
Moritz Bunkus
734b6a1803 Add new element 'DefaultDecodedFieldDuration'
See
http://lists.matroska.org/pipermail/matroska-devel/2012-December/004371.html
2013-03-19 12:07:42 +01:00
Moritz Bunkus
c718d51867 Ignore files built during compilation 2013-03-19 12:06:36 +01:00
Steve Lhomme
f3f1214c13 add alphaMode for WebM 2013-02-05 18:56:40 +01:00
Moritz Bunkus
08eb86ee0a Sync with specs: remove TrackTimecodeDenominator; add ChapterStringUID
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@869 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-12-02 14:12:58 +00:00
Steve Lhomme
0a96109b73 specs: introduce ChapterStringUID for WebVTT cue identifiers
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@867 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-10-28 07:58:23 +00:00
Moritz Bunkus
0f3f33bf6f Make CueDuration a child of CueTrackPositions
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@862 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-09-24 21:39:23 +00:00
Moritz Bunkus
4ac544deac Add missing RenderData() declaration for KaxTrackTimecodeScale
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@861 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-09-24 21:01:00 +00:00
Steve Lhomme
a463c247a6 update the ChangeLog with recent changes
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@858 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-09-23 09:53:17 +00:00
Steve Lhomme
e06fb9db92 add TimecodeScaleDenominator to make a fraction with TimecodeScale in Matroska v4
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@856 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-09-23 09:18:56 +00:00
Steve Lhomme
726c4bee88 no more TrackTimecodeScale in Matroska v4
no more TrackTimecodeScale writing in libmatroska

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@853 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2012-09-23 08:44:42 +00:00