Commit Graph

11945 Commits

Author SHA1 Message Date
TMTisFree
8c4d17b13d translations: update French 2018-05-02 14:33:36 +02:00
Israel Lucas Torrijos
5a4547fed2 translations: update Spanish 2018-05-02 14:33:30 +02:00
Moritz Bunkus
2dd33027fd track statistics tags: don't write _STATISTICS_WRITING_DATE_UTC with --no-date
Fixes #2286.
2018-04-27 23:14:13 +02:00
Moritz Bunkus
e3f54fdbcb bit_writer_c: change put_bit() back to taking a bool
Taking an `int` was done due to clang-tidy's modernize checks
bemoaning the use of integers 0 and 1 instead of `true` and `false`
for Boolean parameters. However, that had the unintended consequence
of truncating values if the values given to the parameter is e.g. a
`uint64_t` for which a bit was tested with "value & (1 << shift)" —
which relied on implicit conversion to bool.
2018-04-27 14:42:14 +02:00
Danko
1bd172e342 translations: update Serbian Latin 2018-04-27 11:01:01 +02:00
Moritz Bunkus
8cc99f24d3 mkvextract: verify first element found is an EBML Head
`FindNextID` considers anything that looks like an ID to be valid. If
the resulting ID is neither a known global nor an element from the
passed context, a Dummy Element is returned instead.

Therefore mkvextract must verify that the element found is indeed an
EBM Head element in order to determine whether or not the source file
is actually a Matroska/WebM file.

Fixes #2281.
2018-04-26 12:51:57 +02:00
Moritz Bunkus
53da7a4268 NEWS.md: fix spelling 2018-04-26 09:51:34 +02:00
Moritz Bunkus
b4f52205ca refactoring: fix issues pointed out by clang-tidy's modernize checks 2018-04-24 21:20:23 +02:00
Moritz Bunkus
74008cb00c translations: update list of translatable strings 2018-04-24 19:10:49 +02:00
Moritz Bunkus
8d0d16855c NEWS.md: fix spelling 2018-04-24 18:42:01 +02:00
Moritz Bunkus
b7a53f345c Merge branch 'probe_by_ext' of gitlab.com:rawler/mkvtoolnix 2018-04-24 18:41:08 +02:00
Ulrik Mikaelsson
c2d771e4cf mkvmerge: format-detection: probe by file-extension first
Due to irregular signatures of probe-function, not all formats are supported
 - No text-formats
 - Some audio-formats (mp3, aac, ac3)
2018-04-24 12:47:58 +02:00
Moritz Bunkus
eea55d1afb memory_c: remove internal reference counting 2018-04-23 16:10:11 +02:00
Moritz Bunkus
2d745251c2 memory_c: make ctors private; provide borrow/take_ownership instead
The previous interface required an optional boolean parameter in order
to indicate whether a memory region passed to memory_c should be
managed by memory_c. That was confusing and easy to get wrong.
2018-04-23 16:10:11 +02:00
Moritz Bunkus
6d4ef51756 memory_c: refactor function & variable names 2018-04-23 16:10:11 +02:00
Moritz Bunkus
d317cb0dc6 GUI: preferences: rename "output" to "destination file name" 2018-04-21 22:38:56 +02:00
Moritz Bunkus
85e828d359 translations: update list of translatable strings 2018-04-21 18:15:49 +02:00
Dian Li
01ab5a449e translations: update Chinese Simplified 2018-04-21 18:15:18 +02:00
Burak Yavuz
65c14f3e06 translations: update Turkish 2018-04-21 18:15:11 +02:00
Timofey Lisunov
d45032aabd translations: update Russian 2018-04-21 18:15:05 +02:00
Potato
8bc603452f translations: update Korean 2018-04-21 18:14:59 +02:00
TMTisFree
b571228110 translations: update French 2018-04-21 18:14:43 +02:00
Israel Lucas Torrijos
4cd73f9e6a translations: update Spanish 2018-04-21 18:14:37 +02:00
Antoni Bella Pérez
2ceb7d97db translations: update Catalan 2018-04-21 18:14:31 +02:00
Moritz Bunkus
8d3d06e160 GUI: remove animation when adding or starting a multiplex job 2018-04-21 17:33:57 +02:00
Moritz Bunkus
9750eeda47 refactor "hacks" functions to namespace mtx::hacks 2018-04-21 17:22:04 +02:00
Moritz Bunkus
d102e7f21a update libEBML to v1.3.6, libMatroska to v1.4.9 2018-04-20 20:37:55 +02:00
Moritz Bunkus
6f46296c9b NEWS.md: mention new C++14 build requirements 2018-04-20 20:12:01 +02:00
Moritz Bunkus
954aa8781d cosmetics: alignment 2018-04-20 20:11:55 +02:00
Moritz Bunkus
c9e931d69e configure: add test for C++14 feature "user-defined literals for std::string" 2018-04-20 20:03:57 +02:00
Moritz Bunkus
589365a63b libebml: update & intentional update of test results 2018-04-20 16:33:48 +02:00
Moritz Bunkus
b49a370c57 use C++14 std::string literals 2018-04-20 16:32:54 +02:00
Moritz Bunkus
28e3d65b23 libebml: update & intentional update of test results 2018-04-18 22:43:06 +02:00
Moritz Bunkus
aa001758a2 libebml: update 2018-04-18 12:47:22 +02:00
Moritz Bunkus
63de2e012f mkvmerge: remove several unused variables 2018-04-17 23:55:00 +02:00
Moritz Bunkus
c78177e99b build system: use version number comparison for -Wshadow-compatible-local test
clang++ doesn't error out on unknown flags, it only spews
warnings. Therefore AC_TRY_COMPILE is useless for detecting support
for it.
2018-04-17 23:41:32 +02:00
Moritz Bunkus
9eaf235c76 build system: only use -Wshadow-compatible-local if compiler supports it 2018-04-17 23:28:50 +02:00
Moritz Bunkus
b14349538a NEWS.md: only mention a summary of the various leak fixes 2018-04-17 17:56:53 +02:00
Moritz Bunkus
dd41abf629 avilib: 0-initialize all allocated memory
Required for properly freeing it later.
2018-04-17 17:54:35 +02:00
Moritz Bunkus
cf225ece06 avilib: free memory allocated for text tracks 2018-04-17 17:54:14 +02:00
Moritz Bunkus
bbcf10032c Matroska reader: avoid use-after-free in certain damaged-file cases 2018-04-17 17:28:00 +02:00
Moritz Bunkus
b3d99574e6 kax_file_c: only return owned pointers to newly read elements 2018-04-17 17:23:20 +02:00
Moritz Bunkus
589809a170 tests: avoid memory leaks 2018-04-17 16:35:41 +02:00
Moritz Bunkus
4c20ef9167 Matroska reader: potential memory leak fixes; use more automatic memory handling 2018-04-17 15:10:17 +02:00
Moritz Bunkus
e3832041cb mkvmerge: fix memory leak when removing tags not supported in WebM 2018-04-17 13:43:53 +02:00
Moritz Bunkus
3805b41f04 Matroska reader: fix potential memory leak in tag reader 2018-04-17 13:42:50 +02:00
Moritz Bunkus
b6fc42fc2b Matroska reader: auto-delete tags properly 2018-04-17 13:42:36 +02:00
Moritz Bunkus
710ea67e0d mkvmerge: fix memory leak on empty KaxTag instances 2018-04-17 13:42:08 +02:00
Moritz Bunkus
87ff4ac85f mkvmerge: change add_tags API to take reference
The argument must always be set.
2018-04-17 13:41:25 +02:00
Moritz Bunkus
f8c0ef7dcb mm_mem_io_c: return shared_ptr<memory_c> from get_and_lock_buffer
Makes using that interface much less error-prone regarding memory
leaks as it transfers ownership explicitly.
2018-04-17 13:27:18 +02:00