]> granicus.if.org Git - libmatroska/log
libmatroska
4 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>
4 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>
4 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

4 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*

4 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

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

4 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

4 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)

4 years agoMerge pull request #30 from Matroska-Org/enc-algo-mandatory
Moritz Bunkus [Mon, 22 Jun 2020 07:37:54 +0000 (09:37 +0200)]
Merge pull request #30 from Matroska-Org/enc-algo-mandatory

fix ContentEncAlgo assumed not to be mandatory

4 years agoMerge pull request #21 from Matroska-Org/forbid-slices
Moritz Bunkus [Mon, 22 Jun 2020 07:36:42 +0000 (09:36 +0200)]
Merge pull request #21 from Matroska-Org/forbid-slices

forbid writing TimeSlice, SliceLaceNumber and TrackAttachmentLink

4 years agoMerge pull request #48 from Matroska-Org/write-track-scale
Moritz Bunkus [Mon, 22 Jun 2020 07:33:41 +0000 (09:33 +0200)]
Merge pull request #48 from Matroska-Org/write-track-scale

Allow writing TrackTimecodeScale

4 years agoMerge pull request #32 from Matroska-Org/new-aes-elements
Moritz Bunkus [Mon, 22 Jun 2020 07:33:17 +0000 (09:33 +0200)]
Merge pull request #32 from Matroska-Org/new-aes-elements

add ContentEncAESSettings and AESSettingsCipherMode

4 years agoMerge pull request #45 from Matroska-Org/blockadd-mapping
Moritz Bunkus [Mon, 22 Jun 2020 07:32:58 +0000 (09:32 +0200)]
Merge pull request #45 from Matroska-Org/blockadd-mapping

add BlockAdditionMapping support

4 years agoMerge pull request #42 from Matroska-Org/remove-MATROSKA_VERSION
Moritz Bunkus [Mon, 22 Jun 2020 07:32:19 +0000 (09:32 +0200)]
Merge pull request #42 from Matroska-Org/remove-MATROSKA_VERSION

Remove MATROSKA_VERSION 2 conditional compilation

4 years agoadd ContentEncAESSettings and AESSettingsCipherMode
Steve Lhomme [Sat, 1 Jun 2019 06:49:18 +0000 (08:49 +0200)]
add ContentEncAESSettings and AESSettingsCipherMode

4 years agoremoved MATROSKA_VERSION for KaxBlockAdditionMapping
Steve Lhomme [Mon, 22 Jun 2020 04:55:22 +0000 (06:55 +0200)]
removed MATROSKA_VERSION for KaxBlockAdditionMapping

4 years agoAllow writing TrackTimecodeScale
Steve Lhomme [Sun, 21 Jun 2020 09:01:13 +0000 (11:01 +0200)]
Allow writing TrackTimecodeScale

TrackTimestampScale/TrackTimecodeScale was allowed until Matroska v3 so it
should be possible to remux files with the value.

4 years agoadd BlockAdditionMapping support
Steve Lhomme [Sun, 21 Jun 2020 08:40:06 +0000 (10:40 +0200)]
add BlockAdditionMapping support

4 years agoRemove MATROSKA_VERSION 2 conditional compilation
Steve Lhomme [Sun, 14 Jun 2020 09:14:29 +0000 (11:14 +0200)]
Remove MATROSKA_VERSION 2 conditional compilation

Bump the SO version as it's an ABI breakage.
Bump the library to 1.6.0 as it's an API breakage (for outdated softwares).

Fixes #41

4 years agoChangeLog: update for PR 36
Moritz Bunkus [Mon, 16 Mar 2020 17:29:51 +0000 (18:29 +0100)]
ChangeLog: update for PR 36

4 years agoMerge pull request #36 from Maturin/master
Moritz Bunkus [Mon, 16 Mar 2020 18:58:46 +0000 (19:58 +0100)]
Merge pull request #36 from Maturin/master

#35: Fixed linking against libmatroska.dll (lib)

5 years ago#35: Fixed linking against libmatroska.dll (lib)
Lars Benner [Thu, 15 Aug 2019 18:15:03 +0000 (20:15 +0200)]
#35: Fixed linking against libmatroska.dll (lib)

5 years agofix ContentEncAlgo assumed not to be mandatory enc-algo-mandatory
Steve Lhomme [Sat, 1 Jun 2019 07:11:18 +0000 (09:11 +0200)]
fix ContentEncAlgo assumed not to be mandatory

The EBML Path is 1*1(\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncryption\ContentEncAlgo)

5 years agodo not write DivX FileUsed elements no-divx-fileused
Steve Lhomme [Sat, 1 Jun 2019 06:53:48 +0000 (08:53 +0200)]
do not write DivX FileUsed elements

they are deprecated and not well documented

5 years agobump version number to 1.5.2 release-1.5.2
Moritz Bunkus [Mon, 27 May 2019 13:15:25 +0000 (15:15 +0200)]
bump version number to 1.5.2

5 years agorequire libebml 1.3.9
Moritz Bunkus [Mon, 27 May 2019 13:15:13 +0000 (15:15 +0200)]
require libebml 1.3.9

5 years agoupdate ChangeLog
Moritz Bunkus [Mon, 27 May 2019 13:14:33 +0000 (15:14 +0200)]
update ChangeLog

5 years agoMerge pull request #28 from evpobr/fix-export-symbols
Moritz Bunkus [Mon, 27 May 2019 10:52:30 +0000 (12:52 +0200)]
Merge pull request #28 from evpobr/fix-export-symbols

Fix symbols export

5 years agoFix symbols export, closes #50
evpobr [Mon, 27 May 2019 10:32:44 +0000 (15:32 +0500)]
Fix symbols export, closes #50

5 years agobump version number to 1.5.1 release-1.5.1
Moritz Bunkus [Sat, 25 May 2019 10:16:30 +0000 (12:16 +0200)]
bump version number to 1.5.1

5 years agoChangeLog: update
Moritz Bunkus [Sat, 25 May 2019 10:05:29 +0000 (12:05 +0200)]
ChangeLog: update

5 years agobuild system: require libEBML 1.3.8
Moritz Bunkus [Sat, 25 May 2019 10:00:09 +0000 (12:00 +0200)]
build system: require libEBML 1.3.8

5 years agoMerge pull request #27 from Rupan/cmake_bugfix
Moritz Bunkus [Fri, 24 May 2019 07:26:22 +0000 (09:26 +0200)]
Merge pull request #27 from Rupan/cmake_bugfix

Fix a typo in the CMake file

5 years agoFix a typo in the CMake file
Michael Mohr [Fri, 24 May 2019 05:21:58 +0000 (22:21 -0700)]
Fix a typo in the CMake file

5 years agoFix C++ visibility preset
evpobr [Sun, 19 May 2019 13:36:41 +0000 (18:36 +0500)]
Fix C++ visibility preset

5 years agoMark KaxInternalBlock as exported
evpobr [Sat, 18 May 2019 04:42:26 +0000 (09:42 +0500)]
Mark KaxInternalBlock as exported

Classes derived from KaxInternalBlock are exported,  but KaxInternalBlock is not.

Fixes compiler warning.

5 years agoCMake fixes
evpobr [Sun, 5 May 2019 06:19:47 +0000 (11:19 +0500)]
CMake fixes

5 years agoKaxBlock: do not attempt to use laced sizes that are clearly invalid
Steve Lhomme [Sun, 19 May 2019 09:16:19 +0000 (11:16 +0200)]
KaxBlock: do not attempt to use laced sizes that are clearly invalid

5 years agoKaxBlock: don't reset potentially unallocated memory
Steve Lhomme [Mon, 11 Feb 2019 08:51:30 +0000 (09:51 +0100)]
KaxBlock: don't reset potentially unallocated memory

When using SCOPE_PARTIAL_DATA the GetBuffer()/Data pointer is never allocated.
If this exception occurs we must not write on NULL pointed data.

When the memory is allocated it doesn't have any use to reset the memory to 0
since SetValueIsSet(false) is called right before, invalidating the buffer.

5 years agobump version number to 1.5.0 release-1.5.0
Moritz Bunkus [Tue, 12 Mar 2019 19:54:34 +0000 (20:54 +0100)]
bump version number to 1.5.0

5 years agoupdate ChangeLog, add release message
Moritz Bunkus [Tue, 12 Mar 2019 19:53:47 +0000 (20:53 +0100)]
update ChangeLog, add release message

5 years agorequire libEBML 1.3.7
Moritz Bunkus [Tue, 12 Mar 2019 19:49:20 +0000 (20:49 +0100)]
require libEBML 1.3.7

libEBML 1.3.7 fixes handling of Unicode code points > U+ffff.

5 years agoREADME.md: fix docs regarding specifying custom path for libEBML
Moritz Bunkus [Tue, 12 Mar 2019 19:49:02 +0000 (20:49 +0100)]
README.md: fix docs regarding specifying custom path for libEBML

5 years agoremove extra ; at end of classes & namespaces
Moritz Bunkus [Sat, 23 Feb 2019 18:25:01 +0000 (19:25 +0100)]
remove extra ; at end of classes & namespaces

The various macros creating classes already contain the required ;
after the class. Adding an extra ; after the macro invocation results
in compiler warnings with -Wpedantic.

Namespace definitions don't require trailing ; in the first place
resulting in the same warning.

5 years agoMerge pull request #19 from schultetwin1/fix_cmake_module_path
Moritz Bunkus [Thu, 24 Jan 2019 16:39:03 +0000 (17:39 +0100)]
Merge pull request #19 from schultetwin1/fix_cmake_module_path

Remove explict CMAKE_MODULE_PATH set

6 years agoforbid writing TimeSlice, SliceLaceNumber and TrackAttachmentLink forbid-slices
Steve Lhomme [Sun, 21 Oct 2018 13:10:55 +0000 (15:10 +0200)]
forbid writing TimeSlice, SliceLaceNumber and TrackAttachmentLink

6 years agoRemove explict CMAKE_MODULE_PATH set
Matt Schulte [Fri, 19 Oct 2018 16:56:19 +0000 (09:56 -0700)]
Remove explict CMAKE_MODULE_PATH set

Currently, CMAKE_MODULE_PATH is expliclty overridden and set to
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/". Since that directory does not
exist this prevents anyone from writing a FindEbml.cmake file. This
works if you are consuming libeml by installing it on your system.

This breaks the use case of having libebml built as part of your build.
If you have called add_subdirectory(libebml) already, the build should
be able to continue. I'm removing the explict set of CMAKE_MODULE_PATH
to allow this use case.

6 years agobump version number to 1.4.9; include release message release-1.4.9
Moritz Bunkus [Fri, 20 Apr 2018 18:28:50 +0000 (20:28 +0200)]
bump version number to 1.4.9; include release message

6 years agoChangeLog: update
Moritz Bunkus [Thu, 19 Apr 2018 11:09:24 +0000 (13:09 +0200)]
ChangeLog: update

6 years agoChangeLog: update for change to cmake
Moritz Bunkus [Thu, 19 Apr 2018 11:08:37 +0000 (13:08 +0200)]
ChangeLog: update for change to cmake

6 years agocmake: fix requirement name of libebml
Moritz Bunkus [Thu, 19 Apr 2018 10:56:10 +0000 (12:56 +0200)]
cmake: fix requirement name of libebml

libebml's cmake file is called EbmlConfig.cmake.

6 years agocmake: fix version number
Moritz Bunkus [Thu, 19 Apr 2018 10:55:31 +0000 (12:55 +0200)]
cmake: fix version number

6 years agocmake: fix setting CMAKE_INSTALL_PACKAGEDIR on non-Windows platforms
Moritz Bunkus [Thu, 19 Apr 2018 10:53:17 +0000 (12:53 +0200)]
cmake: fix setting CMAKE_INSTALL_PACKAGEDIR on non-Windows platforms

6 years agocmake: move MatroskaConfig.cmake to main directory to match libebml
Moritz Bunkus [Thu, 19 Apr 2018 10:53:17 +0000 (12:53 +0200)]
cmake: move MatroskaConfig.cmake to main directory to match libebml

6 years agoREADME.md: update for usage of cmake
Moritz Bunkus [Thu, 19 Apr 2018 10:53:34 +0000 (12:53 +0200)]
README.md: update for usage of cmake

6 years agoignore the build/ directory
Moritz Bunkus [Thu, 19 Apr 2018 09:43:48 +0000 (11:43 +0200)]
ignore the build/ directory

6 years agoremove autoconf/automake files
Moritz Bunkus [Thu, 19 Apr 2018 09:32:16 +0000 (11:32 +0200)]
remove autoconf/automake files

6 years agoMerge remote-tracking branch 'evpobr/feature/cmake' into evpobr-cmake
Moritz Bunkus [Thu, 19 Apr 2018 09:28:44 +0000 (11:28 +0200)]
Merge remote-tracking branch 'evpobr/feature/cmake' into evpobr-cmake

7 years agouse the same term to tell there has been modificiations to the original
Steve Lhomme [Sun, 19 Nov 2017 12:39:19 +0000 (13:39 +0100)]
use the same term to tell there has been modificiations to the original

7 years agoAdd some language to avoid people behaving badly elsewhere
Steve Lhomme [Sat, 18 Nov 2017 14:58:05 +0000 (15:58 +0100)]
Add some language to avoid people behaving badly elsewhere

7 years agoAdd the Contributor Covenant code of conduct
Steve Lhomme [Sat, 18 Nov 2017 14:07:22 +0000 (15:07 +0100)]
Add the Contributor Covenant code of conduct

7 years agobumped version number, added release message release-1.4.8
Moritz Bunkus [Mon, 25 Sep 2017 18:22:37 +0000 (20:22 +0200)]
bumped version number, added release message

7 years agoKaxBlockGroup, KaxSimpleBlock: fix writing track number == 128
Moritz Bunkus [Mon, 25 Sep 2017 17:55:26 +0000 (19:55 +0200)]
KaxBlockGroup, KaxSimpleBlock: fix writing track number == 128

7 years agoAdd CMake project
evpobr [Sun, 3 Sep 2017 10:12:58 +0000 (15:12 +0500)]
Add CMake project

7 years agobump version number release-1.4.7
Moritz Bunkus [Fri, 10 Mar 2017 20:21:03 +0000 (21:21 +0100)]
bump version number

7 years agoBump version number, add release message
Moritz Bunkus [Fri, 10 Mar 2017 20:16:14 +0000 (21:16 +0100)]
Bump version number, add release message

7 years agoupdate ChangeLog, add release message release-1.4.6
Moritz Bunkus [Fri, 10 Mar 2017 13:34:11 +0000 (14:34 +0100)]
update ChangeLog, add release message

7 years agoRevert "forbid the use of KaxTimeSlice and KaxSliceLaceNumber as they are deprecated...
Moritz Bunkus [Fri, 10 Mar 2017 13:33:34 +0000 (14:33 +0100)]
Revert "forbid the use of KaxTimeSlice and KaxSliceLaceNumber as they are deprecated since v1"

This reverts commit 3c698a372abe63a60b60309f2bbeaf12d1c15979. It
isn't really required, but it breaks ABI compatibility.

7 years agoforbid the use of KaxTimeSlice and KaxSliceLaceNumber as they are deprecated since v1
Steve Lhomme [Wed, 8 Mar 2017 12:18:36 +0000 (13:18 +0100)]
forbid the use of KaxTimeSlice and KaxSliceLaceNumber as they are deprecated since v1

7 years agoadd IETF BPC 47 language elements
Steve Lhomme [Wed, 8 Mar 2017 12:19:33 +0000 (13:19 +0100)]
add IETF BPC 47 language elements

7 years agoupdate coremake project
Steve Lhomme [Wed, 8 Mar 2017 11:19:52 +0000 (12:19 +0100)]
update coremake project

7 years agogenerate semantics using the new spectools, using the XML Schema for Matroska
Steve Lhomme [Sun, 22 Jan 2017 16:32:44 +0000 (17:32 +0100)]
generate semantics using the new spectools, using the XML Schema for Matroska

aka ebml_specification.xml

The display name for projection items has changed.

7 years agoMerge pull request #11 from MaddTheSane/documentationWarning
Moritz Bunkus [Sun, 8 Jan 2017 17:55:57 +0000 (18:55 +0100)]
Merge pull request #11 from MaddTheSane/documentationWarning

Quiet warnings in clang when -Wdocumentation is set.

7 years agoQuiet warnings in clang when -Wdocumentation is set.
C.W. Betts [Sun, 8 Jan 2017 17:47:30 +0000 (10:47 -0700)]
Quiet warnings in clang when -Wdocumentation is set.

8 years agoadd 360°/VR elements
Steve Lhomme [Mon, 5 Dec 2016 13:22:45 +0000 (14:22 +0100)]
add 360°/VR elements

manually edited until the new XML Schema format is processed correctly

8 years agoREADME: add a README with basic installation instructions
Moritz Bunkus [Fri, 15 Jul 2016 12:49:22 +0000 (14:49 +0200)]
README: add a README with basic installation instructions

8 years agoBump version number, add release message release-1.4.5
Moritz Bunkus [Sat, 2 Jul 2016 13:51:38 +0000 (15:51 +0200)]
Bump version number, add release message

8 years agoadd colour-related elements from latest specdata.xml
Moritz Bunkus [Sun, 24 Apr 2016 20:32:12 +0000 (22:32 +0200)]
add colour-related elements from latest specdata.xml

8 years agoadd the FieldOrder element from the latest specdata.xml
Steve Lhomme [Fri, 1 Apr 2016 10:19:53 +0000 (12:19 +0200)]
add the FieldOrder element from the latest specdata.xml

9 years agoKaxVersion.cpp: always set KaxCodeDate to "Unknown"
Moritz Bunkus [Sat, 21 Nov 2015 09:58:21 +0000 (10:58 +0100)]
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>.

9 years agoBump version number, add release message release-1.4.4
Moritz Bunkus [Tue, 20 Oct 2015 13:07:17 +0000 (15:07 +0200)]
Bump version number, add release message

9 years agobuild system: require libebml >= 1.3.3 due to fixes for invalid memory access
Moritz Bunkus [Tue, 20 Oct 2015 13:06:40 +0000 (15:06 +0200)]
build system: require libebml >= 1.3.3 due to fixes for invalid memory access

9 years agoKaxBlockInternal: check EBML lace sizes against available buffer space
Moritz Bunkus [Tue, 20 Oct 2015 10:00:53 +0000 (12:00 +0200)]
KaxBlockInternal: check EBML lace sizes against available buffer space

9 years agoBump version number, add release message release-1.4.3
Moritz Bunkus [Sat, 17 Oct 2015 14:02:54 +0000 (16:02 +0200)]
Bump version number, add release message

9 years agoMerge pull request #7 from DanWin/master
Moritz Bunkus [Sat, 2 May 2015 09:07:27 +0000 (11:07 +0200)]
Merge pull request #7 from DanWin/master

Some optimizations

9 years agoFix memory leak
Daniel Winzen [Sat, 2 May 2015 08:38:11 +0000 (10:38 +0200)]
Fix memory leak

9 years agoSome optimizations
Daniel Winzen [Sat, 2 May 2015 07:13:56 +0000 (09:13 +0200)]
Some optimizations

9 years agobuild: libmatroska needs to link against libebml
Jan Engelhardt [Sun, 1 Feb 2015 17:14:08 +0000 (18:14 +0100)]
build: libmatroska needs to link against libebml

The library uses symbols from libebml, and so should link to it.

9 years agoMerge pull request #5 from phonohawk/fix-libmatroska-linkage-failure
Moritz Bunkus [Thu, 22 Jan 2015 14:26:36 +0000 (15:26 +0100)]
Merge pull request #5 from phonohawk/fix-libmatroska-linkage-failure

Fix linkage failure of libmatroska due to missing -lebml flag

9 years agoFix linkage failure of libmatroska due to missing -lebml flag
PHO [Thu, 22 Jan 2015 13:15:02 +0000 (22:15 +0900)]
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
          ...

9 years agoChangeLog: add release message release-1.4.2
Moritz Bunkus [Sun, 4 Jan 2015 13:31:17 +0000 (14:31 +0100)]
ChangeLog: add release message

10 years agobuild system: autogen.sh not needed; »autoreconf -fi« suffices
Moritz Bunkus [Sun, 21 Dec 2014 10:39:59 +0000 (11:39 +0100)]
build system: autogen.sh not needed; »autoreconf -fi« suffices

10 years agoChangeLog: mention the pkg-config file
Moritz Bunkus [Sun, 21 Dec 2014 09:51:53 +0000 (10:51 +0100)]
ChangeLog: mention the pkg-config file

10 years agoChangeLog: update
Moritz Bunkus [Sun, 21 Dec 2014 09:32:52 +0000 (10:32 +0100)]
ChangeLog: update

10 years agobuild system: remove old hand-crafted make files
Moritz Bunkus [Sun, 21 Dec 2014 09:32:08 +0000 (10:32 +0100)]
build system: remove old hand-crafted make files

10 years agocheck_ids: move to other directory
Moritz Bunkus [Sun, 21 Dec 2014 09:31:45 +0000 (10:31 +0100)]
check_ids: move to other directory

10 years agobuild system: add autoconf/automake-based system
Moritz Bunkus [Sun, 21 Dec 2014 09:22:49 +0000 (10:22 +0100)]
build system: add autoconf/automake-based system

10 years agocosmetics: re-indent KaxBlock::ReadData() after wrapping in try/catch block
Moritz Bunkus [Sat, 20 Dec 2014 16:06:47 +0000 (17:06 +0100)]
cosmetics: re-indent KaxBlock::ReadData() after wrapping in try/catch block

10 years agoKaxBlock::ReadData(): use safe/checked memory access
Moritz Bunkus [Sat, 20 Dec 2014 15:54:28 +0000 (16:54 +0100)]
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

10 years agocosmetics: unify indentation
Moritz Bunkus [Fri, 19 Dec 2014 14:07:32 +0000 (15:07 +0100)]
cosmetics: unify indentation