Commit Graph

24 Commits

Author SHA1 Message Date
Moritz Bunkus
01addee9c0
AVI reader: report DV type 1 AVIs as unsupported file types
avilib doesn't support DV type 1 AVIs at all. It used to print an
error message to standard error; additionally it didn't propagate the
error back to the caller resulting in invalid memory accesses and
subsequent crashes.

Fixes #2491.
2019-02-05 20:03:16 +01:00
Moritz Bunkus
ce07f3557c
avilib: avoid warnings about potentially too small buffers 2018-06-08 11:41:20 +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
045fb9df48 avilib: free malloc'ed memory for super indexes 2018-04-16 21:33:06 +02:00
Moritz Bunkus
17aa7d5af6 avilib: allow 1024 index chunks = 1024 GB files 2016-12-15 13:40:03 +01:00
KonaBlend
cee1debeaf add explicit pch support
- convert gcc to use -include
- add clang support for -include
- new target namespace: pch (invoke rake -T or pch:overview for details)
- move pch logic into rake.d/pch.rb
- convert a few troublesome source files from ISO-8859-1 -> UTF-8
- add persistent config: config.pch.json
- add TTY support for running commands with filters (keeps pretty
  color diagnostics even when filtering compiler stdout/stderr)
- for fun try:

        drake "pch[pretty]"
        drake -j4
        drake pch:status
2016-03-26 03:52:21 -04:00
Mats Peterson
45bc332bad mkvmerge, mkvextract: don't store extra data size in bi_size field 2015-03-24 11:56:01 +01:00
Mats Peterson
3ca50d5946 avilib: write 00dc as index chunk IDs 2015-03-02 12:05:04 +01:00
Moritz Bunkus
461e3ac82b avilib: only require track ID instead of full tag in idx1 2015-02-27 21:58:31 +01:00
Moritz Bunkus
2c54a35ca6 avilib: only put 0x10 into key frame index field
The dwFlags field in idx1 chunks can have other bits set, too. However,
the code in AVI_read_frame() needs it to be equal to 0x10 (which is
AVIIF_KEYFRAME from the aviriff.h header).
2015-02-25 22:41:25 +01:00
Mats Peterson
e7d8415656 avilib: read all of 'strf' even if biSize does not include it
Fixes #1129.
2015-02-25 21:14:33 +01:00
Mats Peterson
d33adf5ee0 avilib: fix ckSize value in strf chunks
Fixes #1128.
2015-02-25 21:01:08 +01:00
Mats Peterson
7702929f56 mkvextract: fix bits/pixel for non-24bit video codecs in AVIs
Fixes #1123.
2015-02-23 21:35:05 +01:00
Moritz Bunkus
d17e29af00 build system: use PACKAGE_NAME/_VERSION instead of self-defined variables 2015-02-12 14:35:48 +01:00
Moritz Bunkus
aa6a3faa05 avilib: use integer size matching the format specifier 2013-10-17 18:09:51 +02:00
Moritz Bunkus
065d891b36 avilib: add function for retrieving the total number of audio chunks 2013-03-31 14:37:07 +02:00
Moritz Bunkus
dd7c254277 Initialize AVI header fields before writing
Fix for #727.
2012-03-14 12:53:13 +01:00
Moritz Bunkus
1643e752bf Avoid compilation warnings on mingw 2012-03-04 17:30:52 +01:00
Moritz Bunkus
529cc8db20 Avoid warning about const cast 2011-11-12 13:19:22 +01:00
Moritz Bunkus
b0aaad24e2 Refactoring: move input file creation into generic_reader_c 2011-11-11 23:11:16 +01:00
Moritz Bunkus
2e99e16b95 Removed set but unused variables 2011-07-11 22:09:07 +02:00
Moritz Bunkus
b044d2da28 Avoid never ending recursive calls due to wrong #defines
gcc 4.4.x mingw contains a strncasecmp() implementation that already
calls _strnicmp(). Also common/os.h already defines
strncasecmp. Defining it a second time leads to a never ending
recursive call.

Fix for bug 642.
2011-07-11 15:52:47 +02:00
Moritz Bunkus
bd86697a61 Moved the directories 'librmff' and 'avilib-0.6.10' to a common subdirectory 'lib'. 2009-08-18 11:29:48 +02:00