]> granicus.if.org Git - libmatroska/log
libmatroska
19 months agodon't use local include pathes to find libebml headers v1.x
Steve Lhomme [Sat, 15 Oct 2022 08:41:59 +0000 (10:41 +0200)]
don't use local include pathes to find libebml headers

(cherry picked from commit c3a7b89e9306ca50726bfc4a6399df2b888a3309)

19 months agouse EbmlTypes.h instead of libebml_t.h
Steve Lhomme [Sat, 15 Oct 2022 08:41:51 +0000 (10:41 +0200)]
use EbmlTypes.h instead of libebml_t.h

(cherry picked from commit ef4142ed7737e245cbcc35056a2257be0b98377b)

19 months ago[1.x] do 1.x build actions when pushing to the v1.x branch
Steve Lhomme [Sat, 8 Oct 2022 13:51:53 +0000 (15:51 +0200)]
[1.x] do 1.x build actions when pushing to the v1.x branch

19 months ago[1.x] build actions on 1.x should checkout the libebml v1.x branch
Steve Lhomme [Sat, 8 Oct 2022 12:58:31 +0000 (14:58 +0200)]
[1.x] build actions on 1.x should checkout the libebml v1.x branch

19 months agoupdate NEWS.md release-1.7.1
Moritz Bunkus [Sat, 8 Oct 2022 09:49:10 +0000 (11:49 +0200)]
update NEWS.md

19 months agobump version number to 1.7.1
Moritz Bunkus [Tue, 4 Oct 2022 20:53:46 +0000 (22:53 +0200)]
bump version number to 1.7.1

19 months agoNEWS: add entry about ABI breakage
Moritz Bunkus [Tue, 4 Oct 2022 20:53:10 +0000 (22:53 +0200)]
NEWS: add entry about ABI breakage

19 months agoNEWS: add version number & release date release-1.7.0
Moritz Bunkus [Fri, 30 Sep 2022 09:39:26 +0000 (11:39 +0200)]
NEWS: add version number & release date

19 months agoremove unnecessary references
Rosen Penev [Sun, 25 Sep 2022 01:59:45 +0000 (18:59 -0700)]
remove unnecessary references

Pointers are already used.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoclang-tidy: do the same for pointers
Rosen Penev [Sat, 24 Sep 2022 21:34:44 +0000 (14:34 -0700)]
clang-tidy: do the same for pointers

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoclang-tidy: add const
Rosen Penev [Sat, 24 Sep 2022 21:21:07 +0000 (14:21 -0700)]
clang-tidy: add const

Found with misc-const-correctness

Also manually simplified several any_of/find_if calls.

Also added manual auto with static_cast

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoclang-tidy: remove redundant init
Rosen Penev [Sat, 24 Sep 2022 21:13:46 +0000 (14:13 -0700)]
clang-tidy: remove redundant init

Found with modernize-use-default-member-init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoclang-tidy: remove redundant dereferences
Rosen Penev [Wed, 3 Mar 2021 23:44:06 +0000 (15:44 -0800)]
clang-tidy: remove redundant dereferences

Found with readability-redundant-function-ptr-dereference

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoCI: add a basic compilation test
Steve Lhomme [Sun, 25 Sep 2022 05:41:50 +0000 (07:41 +0200)]
CI: add a basic compilation test

It needs to build libebml first.

19 months agoRevert "KaxSemantic: update with latest spectool (using C++-style enums)"
Moritz Bunkus [Sun, 25 Sep 2022 11:19:37 +0000 (13:19 +0200)]
Revert "KaxSemantic: update with latest spectool (using C++-style enums)"

This reverts commit 829c6d7ea24213d5320a1cc87f4660cf8f43d602.

19 months agoKaxSemantic: update with latest spectool (using C++-style enums)
Moritz Bunkus [Sun, 25 Sep 2022 10:34:46 +0000 (12:34 +0200)]
KaxSemantic: update with latest spectool (using C++-style enums)

19 months agobump version number to v1.7.0
Moritz Bunkus [Sat, 24 Sep 2022 20:12:13 +0000 (22:12 +0200)]
bump version number to v1.7.0

Even though the number had already been bumped to 1.6.4 after the last
release, all the changes in this release might need adjustments in the
applications using them for writing files, even though the libraries
should still be API and ABI backwards compatible.

19 months agoupdate NEWS
Moritz Bunkus [Sat, 24 Sep 2022 20:11:25 +0000 (22:11 +0200)]
update NEWS

19 months agobump libEBML version requirement to v1.4.3
Moritz Bunkus [Sat, 24 Sep 2022 19:56:36 +0000 (21:56 +0200)]
bump libEBML version requirement to v1.4.3

19 months agocosmetics: restore alignment/indentation
Moritz Bunkus [Sat, 24 Sep 2022 19:27:21 +0000 (21:27 +0200)]
cosmetics: restore alignment/indentation

19 months agoMerge remote-tracking branch 'neheb/2'
Moritz Bunkus [Sat, 24 Sep 2022 19:01:45 +0000 (21:01 +0200)]
Merge remote-tracking branch 'neheb/2'

19 months agostyle: use override specifier in auto-generated code
Moritz Bunkus [Sat, 24 Sep 2022 18:47:53 +0000 (20:47 +0200)]
style: use override specifier in auto-generated code

19 months agoKaxSemantic: fix invalid element ID for KaxEmphasis
Moritz Bunkus [Thu, 22 Sep 2022 12:59:25 +0000 (14:59 +0200)]
KaxSemantic: fix invalid element ID for KaxEmphasis

See https://github.com/ietf-wg-cellar/matroska-specification/pull/673

19 months agoKaxSemantic: re-enable KaxClusterPosition
Moritz Bunkus [Thu, 22 Sep 2022 12:58:22 +0000 (14:58 +0200)]
KaxSemantic: re-enable KaxClusterPosition

Existing tools use that element.

See https://github.com/ietf-wg-cellar/matroska-specification/pull/670

20 months agoKaxSemantic: add KaxEditionDisplay elements
Steve Lhomme [Sun, 11 Sep 2022 12:49:13 +0000 (14:49 +0200)]
KaxSemantic: add KaxEditionDisplay elements

Added in https://github.com/ietf-wg-cellar/matroska-specification/pull/606

20 months agoKaxSemantic: add KaxChapterSkipType chapter element
Steve Lhomme [Sun, 11 Sep 2022 12:48:26 +0000 (14:48 +0200)]
KaxSemantic: add KaxChapterSkipType chapter element

Added in https://github.com/ietf-wg-cellar/matroska-specification/pull/318

20 months agoKaxSemantic: add KaxEmphasis audio element
Steve Lhomme [Sun, 11 Sep 2022 12:47:11 +0000 (14:47 +0200)]
KaxSemantic: add KaxEmphasis audio element

Add in https://github.com/ietf-wg-cellar/matroska-specification/pull/659

20 months agoMerge branch 'c++14'
Moritz Bunkus [Sun, 18 Sep 2022 14:16:15 +0000 (16:16 +0200)]
Merge branch 'c++14'

20 months agoKaxSemantic.cpp: make KaxChapters allowed multiple times
Steve Lhomme [Sun, 18 Sep 2022 05:02:20 +0000 (07:02 +0200)]
KaxSemantic.cpp: make KaxChapters allowed multiple times

It should be unique but it's a 'recurring' elements which might be copied
multiple times in the same parent.

See https://github.com/ietf-wg-cellar/matroska-specification/pull/438

20 months agoKaxSemantic: reorder elements to match the code generation and EBML Schema
Steve Lhomme [Sun, 11 Sep 2022 12:07:28 +0000 (14:07 +0200)]
KaxSemantic: reorder elements to match the code generation and EBML Schema

Affected elements:
* KaxChapterTranslateID
* KaxChapterTranslateEditionUID
* KaxChapterTranslateCodec

* KaxBlockAdditional
* KaxBlockAddID

* KaxTrackTranslateTrackID
* KaxTrackTranslateEditionUID
* KaxTrackTranslateCodec

20 months agoKaxSemantic: mark OldStereoMode as supported
Steve Lhomme [Sun, 21 Aug 2022 15:16:20 +0000 (17:16 +0200)]
KaxSemantic: mark OldStereoMode as supported

It exists in Matroska v1 and v2 but we don't allow writing it as it's deprecated.

20 months agoKaxSemantic: add TagDefaultBogus
Steve Lhomme [Sun, 13 Mar 2022 08:47:28 +0000 (09:47 +0100)]
KaxSemantic: add TagDefaultBogus

The infamous libavformat TagDefault bogus value.

See https://github.com/ietf-wg-cellar/matroska-specification/commit/31ce1cb593ed044d3e57b5a7258bef8c988be352

20 months agoKaxSemantic.cpp: remove the default value of some new TrackEntry elements
Steve Lhomme [Sun, 13 Mar 2022 09:21:29 +0000 (10:21 +0100)]
KaxSemantic.cpp: remove the default value of some new TrackEntry elements

See https://github.com/ietf-wg-cellar/matroska-specification/commit/4dbdf03f04798584085b34236a750681c7d4a1a5

20 months agoKaxSemantic.cpp: remove the KaxCueBlockNumber default value
Steve Lhomme [Sun, 13 Mar 2022 09:17:41 +0000 (10:17 +0100)]
KaxSemantic.cpp: remove the KaxCueBlockNumber default value

See https://github.com/ietf-wg-cellar/matroska-specification/commit/e5b6f222d5480d3bf4546222b38cce0c77cdf58a

20 months agoKaxSemantic.cpp: make KaxVideoDisplayUnit elements mandatory
Steve Lhomme [Sun, 13 Mar 2022 09:10:00 +0000 (10:10 +0100)]
KaxSemantic.cpp: make KaxVideoDisplayUnit elements mandatory

See https://github.com/ietf-wg-cellar/matroska-specification/commit/22d23716f2ba61234449d5c5de509ecc14b37f76

20 months agoKaxSemantic.cpp: make Video\Colour elements mandatory
Steve Lhomme [Sun, 13 Mar 2022 09:07:48 +0000 (10:07 +0100)]
KaxSemantic.cpp: make Video\Colour elements mandatory

See https://github.com/ietf-wg-cellar/matroska-specification/commit/37b176e9fd11a201fcaa0223348adea78f2115d2

20 months agoKaxSemantic.cpp: make Video\Colour elements mandatory
Steve Lhomme [Sun, 13 Mar 2022 09:06:09 +0000 (10:06 +0100)]
KaxSemantic.cpp: make Video\Colour elements mandatory

See https://github.com/ietf-wg-cellar/matroska-specification/commit/3609e0d1ec5449d2c5b46d80363abd27d8943dbc

20 months agoKaxSemantic.cpp: make KaxEditionFlagOrdered mandatory
Steve Lhomme [Sun, 13 Mar 2022 09:01:01 +0000 (10:01 +0100)]
KaxSemantic.cpp: make KaxEditionFlagOrdered mandatory

See https://github.com/ietf-wg-cellar/matroska-specification/commit/3082e56020bfd220efc26100180a449aa55bc2f8

20 months agoKaxSemantic.cpp: make KaxVideoAlphaMode mandatory
Steve Lhomme [Sun, 13 Mar 2022 08:59:44 +0000 (09:59 +0100)]
KaxSemantic.cpp: make KaxVideoAlphaMode mandatory

See https://github.com/ietf-wg-cellar/matroska-specification/commit/5aa6c928caac5300b0ab1a65522e9be31710b2b0

20 months agoKaxSemantic.cpp: make StereoMode mandatory
Steve Lhomme [Sun, 13 Mar 2022 08:57:50 +0000 (09:57 +0100)]
KaxSemantic.cpp: make StereoMode mandatory

See https://github.com/ietf-wg-cellar/matroska-specification/commit/a096476f40ffa77ba26ce44fa259f04998bcd2fc

20 months agoKaxSemantic.cpp: make TrackLanguage elements mandatory
Steve Lhomme [Sun, 13 Mar 2022 08:56:10 +0000 (09:56 +0100)]
KaxSemantic.cpp: make TrackLanguage elements mandatory

See https://github.com/ietf-wg-cellar/matroska-specification/commit/c98127cb523138c81be35c348f4dee70c3aa4c9e

20 months agoKaxSemantic.cpp: make some elements mandatory
Steve Lhomme [Sun, 13 Mar 2022 08:52:00 +0000 (09:52 +0100)]
KaxSemantic.cpp: make some elements mandatory

* CodecDelay: nothing to add/remove to track timestamps
* PixelCropXXX: no cropping by default
* CueCodecState
* Tag\Targets\TargetTypeValue: **tag is not usable without this value**

See https://github.com/ietf-wg-cellar/matroska-specification/commit/f81cb9d339574ce2b00faa288cd466908e31b797

20 months agoKaxSemantic: make more elements deprecated
Steve Lhomme [Sun, 13 Mar 2022 08:45:02 +0000 (09:45 +0100)]
KaxSemantic: make more elements deprecated

* KaxClusterSilentTracks
* KaxClusterSilentTrackNumber
* KaxSlices
* KaxSliceLaceNumber
* KaxReferenceFrame
* KaxReferenceOffset
* KaxReferenceTimeCode
* KaxTrackTimecodeScale
* KaxCodecDecodeAll
* KaxVideoAspectRatio
* KaxTrickTrackUID
* KaxTrickTrackSegmentUID
* KaxTrickTrackFlag
* KaxTrickMasterTrackUID
* KaxTrickMasterTrackSegmentUID
* KaxContentSignature
* KaxContentSigKeyID
* KaxContentSigAlgo
* KaxContentSigHashAlgo
* KaxClusterPosition

20 months agoKaxSemantic.h: add enum values from the specs with documentation
Steve Lhomme [Sun, 11 Sep 2022 12:38:07 +0000 (14:38 +0200)]
KaxSemantic.h: add enum values from the specs with documentation

This provides some useful source for anyone parsing Matroska files.
The enum names are the same as in libmatroska2 (mkclean/mkvalidator).

The documentation doesn't look great but it still gives useful inline
information.

20 months agouse the libebml namespace directly
Steve Lhomme [Sat, 17 Sep 2022 10:43:21 +0000 (12:43 +0200)]
use the libebml namespace directly

There hasn't been a case where there's no namespace in a long time.

20 months agouse the libmatroska namespace directly
Steve Lhomme [Sat, 17 Sep 2022 10:42:03 +0000 (12:42 +0200)]
use the libmatroska namespace directly

No need to hide it behind a macro anymore. The macro is kept for existing
external code still using it.

20 months agoremove unknown NO_NAMESPACE define
Steve Lhomme [Sat, 17 Sep 2022 10:33:22 +0000 (12:33 +0200)]
remove unknown NO_NAMESPACE define

23 months agouse emplace_back
Rosen Penev [Sat, 21 May 2022 01:50:41 +0000 (18:50 -0700)]
use emplace_back

Signed-off-by: Rosen Penev <rosenp@gmail.com>
23 months agoclang-tidy: default member init
Rosen Penev [Sat, 21 May 2022 00:32:12 +0000 (17:32 -0700)]
clang-tidy: default member init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
23 months agoclang-tidy: C++ casts
Rosen Penev [Thu, 19 May 2022 01:31:55 +0000 (18:31 -0700)]
clang-tidy: C++ casts

Signed-off-by: Rosen Penev <rosenp@gmail.com>
23 months agoclang-tidy: default init variables
Rosen Penev [Thu, 19 May 2022 01:18:15 +0000 (18:18 -0700)]
clang-tidy: default init variables

Found with modernize-use-default-member-init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
23 months agoclang-tidy: use auto
Rosen Penev [Thu, 19 May 2022 01:16:25 +0000 (18:16 -0700)]
clang-tidy: use auto

Found with modernize-use-auto

Signed-off-by: Rosen Penev <rosenp@gmail.com>
23 months agoclang-tidy: use default
Rosen Penev [Thu, 19 May 2022 00:28:54 +0000 (17:28 -0700)]
clang-tidy: use default

Found with modernize-use-equals-default

Signed-off-by: Rosen Penev <rosenp@gmail.com>
23 months agoclang-tidy: use nullptr
Rosen Penev [Thu, 19 May 2022 00:28:04 +0000 (17:28 -0700)]
clang-tidy: use nullptr

Signed-off-by: Rosen Penev <rosenp@gmail.com>
23 months agoclang-tidy: add missing override
Rosen Penev [Thu, 19 May 2022 00:26:42 +0000 (17:26 -0700)]
clang-tidy: add missing override

Signed-off-by: Rosen Penev <rosenp@gmail.com>
23 months agoMerge pull request #64 from neheb/2
Moritz Bunkus [Sun, 22 May 2022 20:45:08 +0000 (22:45 +0200)]
Merge pull request #64 from neheb/2

algorithm and for loop conversions

23 months agoMerge pull request #63 from Matroska-Org/pkg-config-absolute
Moritz Bunkus [Sun, 22 May 2022 20:19:56 +0000 (22:19 +0200)]
Merge pull request #63 from Matroska-Org/pkg-config-absolute

keep the path for pkg-config path if they are absolute

23 months agobump C++ requirement to C++14 c++14
Moritz Bunkus [Sun, 22 May 2022 20:12:32 +0000 (22:12 +0200)]
bump C++ requirement to C++14

This follows libebml's recent bump to C++14.

23 months agoalgorithm and for loop conversions
Rosen Penev [Sat, 21 May 2022 01:03:12 +0000 (18:03 -0700)]
algorithm and for loop conversions

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agokeep the path for pkg-config path if they are absolute
Steve Lhomme [Sun, 15 May 2022 06:52:16 +0000 (08:52 +0200)]
keep the path for pkg-config path if they are absolute

Fixes #62

3 years agoremove gcc 2.x include
Steve Lhomme [Sun, 14 Mar 2021 07:22:41 +0000 (08:22 +0100)]
remove gcc 2.x include

We don't support this compiler anymore

3 years agoMerge pull request #58 from kant/patch-1
Moritz Bunkus [Sat, 6 Mar 2021 22:31:12 +0000 (23:31 +0100)]
Merge pull request #58 from kant/patch-1

Minor fix (line 02)

3 years agoMinor fix (line 02)
Darío Hereñú [Sat, 6 Mar 2021 22:21:05 +0000 (19:21 -0300)]
Minor fix (line 02)

3 years agoconvert ChangeLog to NEWS
Moritz Bunkus [Sat, 27 Feb 2021 21:17:46 +0000 (22:17 +0100)]
convert ChangeLog to NEWS

3 years agoallow reading the stored/raw timestamp value of a Block
Steve Lhomme [Sun, 21 Feb 2021 09:20:08 +0000 (10:20 +0100)]
allow reading the stored/raw timestamp value of a Block

Given the API to get the GlobalTimecode of a Block doesn't handle the floating
point value of the TrackTimestampScale (attaching a parent track is not common
and even though the value is not directly available unlike a fractional
timestampscale), it allows external code to compute the proper timestamp
when TrackTimestampScale is not 1.0.

3 years agobump version number to 1.6.4
Steve Lhomme [Sun, 21 Feb 2021 09:19:33 +0000 (10:19 +0100)]
bump version number to 1.6.4

3 years agoremove coremake project files
Steve Lhomme [Sun, 21 Feb 2021 09:27:47 +0000 (10:27 +0100)]
remove coremake project files

Coremake is a dead project. It's been removed for the last active projects that
used is (mkclean/mkvalidator) in favor of CMake.

The tests  could benefit from a build option in CMake, at least to check they
still build.

3 years agobump version number to 1.6.3, add release message release-1.6.3
Moritz Bunkus [Thu, 18 Feb 2021 11:52:39 +0000 (12:52 +0100)]
bump version number to 1.6.3, add release message

3 years agorequire libEBML 1.4.2 or newer
Moritz Bunkus [Thu, 18 Feb 2021 11:52:03 +0000 (12:52 +0100)]
require libEBML 1.4.2 or newer

3 years agoupdate ChangeLog
Moritz Bunkus [Thu, 18 Feb 2021 11:50:37 +0000 (12:50 +0100)]
update ChangeLog

3 years agoMerge pull request #54 from Matroska-Org/track-selection-flags
Moritz Bunkus [Sun, 31 Jan 2021 17:36:04 +0000 (18:36 +0100)]
Merge pull request #54 from Matroska-Org/track-selection-flags

Add new track selection flags

3 years agoAdd new track selection flags track-selection-flags
Steve Lhomme [Sun, 31 Jan 2021 13:04:53 +0000 (14:04 +0100)]
Add new track selection flags

3 years agogenerate code with the XLST based spectool
Steve Lhomme [Sat, 2 Jan 2021 14:14:04 +0000 (15:14 +0100)]
generate code with the XLST based spectool

3 years agobump version number in all relevant files, including CMakeLists.txt release-1.6.2
Moritz Bunkus [Sun, 2 Aug 2020 17:53:06 +0000 (19:53 +0200)]
bump version number in all relevant files, including CMakeLists.txt

Fixes #49.

3 years agoKaxSeekHead: remove unused variable
Moritz Bunkus [Sun, 2 Aug 2020 12:10:23 +0000 (14:10 +0200)]
KaxSeekHead: remove unused variable

3 years agobump version number, add release message release-1.6.1
Moritz Bunkus [Sun, 2 Aug 2020 11:58:40 +0000 (13:58 +0200)]
bump version number, add release message

3 years agoKaxBlockAddIDValue: is not mandatory in the latest specs
Moritz Bunkus [Sun, 2 Aug 2020 11:57:41 +0000 (13:57 +0200)]
KaxBlockAddIDValue: is not mandatory in the latest specs

3 years agobump version number, add release message release-1.6.0
Moritz Bunkus [Sat, 27 Jun 2020 09:52:25 +0000 (11:52 +0200)]
bump version number, add release message

3 years agoupdate ChangeLog
Moritz Bunkus [Sat, 27 Jun 2020 09:51:24 +0000 (11:51 +0200)]
update ChangeLog

3 years agoallow KaxChapterTranslate* to be written again
Moritz Bunkus [Sat, 27 Jun 2020 09:23:25 +0000 (11:23 +0200)]
allow KaxChapterTranslate* to be written again

Merging PR #33 was supposed to only prevent writing of
KaxFileUsed{Start,End}Time. Unfortunately git make a mess of it in
5ba4db4449507e32ff78bbec71c58a6d6065c419 where KaxSemantic.cpp was
correct but the change to KaxSemantic.h was written at the wrong
position, accidentally disabling writing for KaxChapterTranslate*

I didn't realize this, fixed the situation for KaxFileUsed* in
2be299cd6617427fe5c89f1894a9d91fd9e2ed08 and made the situation worse
for KaxChapterTranslate* in b21e0d395d9f0e94e94008a5d685cead6fa45cac.

This commit restores the functionality for KaxChapterTranslate* while
still leaving KaxFileUsed* disabled.

3 years agoCMake: require libEBML 1.4.0
Moritz Bunkus [Sat, 27 Jun 2020 09:10:17 +0000 (11:10 +0200)]
CMake: require libEBML 1.4.0

3 years agoCMakeLists.txt: set default visibility to hidden
Moritz Bunkus [Mon, 22 Jun 2020 10:18:04 +0000 (12:18 +0200)]
CMakeLists.txt: set default visibility to hidden

It will hide all symbols that are not marked with the MATROSKA_DLL_API
macro.

3 years agoKaxCuesData: add PositionSet overrides for KaxSimpleBlock
Moritz Bunkus [Mon, 22 Jun 2020 10:02:41 +0000 (12:02 +0200)]
KaxCuesData: add PositionSet overrides for KaxSimpleBlock

3 years agoKaxSeekHead: let IndexThis return pointer to newly created KaxSeek object
Moritz Bunkus [Mon, 22 Jun 2020 09:55:32 +0000 (11:55 +0200)]
KaxSeekHead: let IndexThis return pointer to newly created KaxSeek object

That way the caller can use it for whatever purpose.

3 years agoKaxBlockData: make SetReferencedTimecode public
Moritz Bunkus [Mon, 22 Jun 2020 09:53:07 +0000 (11:53 +0200)]
KaxBlockData: make SetReferencedTimecode public

That allows the caller to simply set the value without having to keep
the KaxBlockBlob/KaxBlockGroup objects around.

3 years agoCMake: require C++11
Moritz Bunkus [Mon, 22 Jun 2020 09:04:01 +0000 (11:04 +0200)]
CMake: require C++11

As discussed in https://github.com/Matroska-Org/libebml/issues/65

3 years agoalgorithm conversions
Moritz Bunkus [Mon, 22 Jun 2020 08:45:59 +0000 (10:45 +0200)]
algorithm conversions

3 years ago[clang-tidy] replace C casts with C++ ones
Rosen Penev [Mon, 8 Jun 2020 00:30:49 +0000 (17:30 -0700)]
[clang-tidy] replace C casts with C++ ones

Found with google-readability-casting

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago[clang-tidy] use = default
Rosen Penev [Fri, 22 May 2020 23:54:55 +0000 (16:54 -0700)]
[clang-tidy] use = default

Found with modernize-use-equals-default

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago[clang-tidy] use auto
Rosen Penev [Fri, 22 May 2020 23:51:16 +0000 (16:51 -0700)]
[clang-tidy] use auto

Found with modernize-use-auto

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago[clang-tidy] use nullptr
Rosen Penev [Fri, 22 May 2020 23:45:31 +0000 (16:45 -0700)]
[clang-tidy] use nullptr

Found with modernize-use-nullptr

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago[clang-tidy] simplify boolean expressions
Rosen Penev [Sun, 17 May 2020 02:12:28 +0000 (19:12 -0700)]
[clang-tidy] simplify boolean expressions

Found with readability-simplify-boolean-expr

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago[clang-tidy] do not use else after return
Rosen Penev [Sun, 17 May 2020 01:56:35 +0000 (18:56 -0700)]
[clang-tidy] do not use else after return

Found with readability-else-after-return

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago[clang-tidy] use empty()
Rosen Penev [Sun, 17 May 2020 01:48:51 +0000 (18:48 -0700)]
[clang-tidy] use empty()

Found with readability-container-size-empty

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago[clang-tidy] make parameter names match those in function declarations
Moritz Bunkus [Mon, 22 Jun 2020 08:33:53 +0000 (10:33 +0200)]
[clang-tidy] make parameter names match those in function declarations

3 years agoKaxSemantic.cpp: add missing function implementations for KaxChapterTranslate*
Moritz Bunkus [Mon, 22 Jun 2020 08:20:11 +0000 (10:20 +0200)]
KaxSemantic.cpp: add missing function implementations for KaxChapterTranslate*

3 years agoKaxSemantic.h: fix missing function declarations
Moritz Bunkus [Mon, 22 Jun 2020 07:53:12 +0000 (09:53 +0200)]
KaxSemantic.h: fix missing function declarations

3 years agoKaxSemantic.h: remove superfluous #endif
Moritz Bunkus [Mon, 22 Jun 2020 07:52:06 +0000 (09:52 +0200)]
KaxSemantic.h: remove superfluous #endif

3 years agoMerge pull request #33 from Matroska-Org/no-divx-fileused
Moritz Bunkus [Mon, 22 Jun 2020 07:42:48 +0000 (09:42 +0200)]
Merge pull request #33 from Matroska-Org/no-divx-fileused

do not write DivX FileUsed elements

3 years agofix ChapLanguageIETF being assumed as unique
Steve Lhomme [Sat, 1 Jun 2019 07:07:22 +0000 (09:07 +0200)]
fix ChapLanguageIETF being assumed as unique

The EBML path is 0*(\Segment\Chapters\EditionEntry\ChapterAtom\ChapterDisplay\ChapLanguageIETF)