Mohamed Ali Chebbi
bed8d3d93c
rework of aspectRatio calculation for all video formats and rework the decoding of asf tags
2023-02-10 21:55:24 -08:00
Rosen Penev
7fd7ee62a3
std::find to find template
...
std::find in C++20 can use ranges, which is equivalent here. Less error
prone.
Namespace is properly to avoid any conflicts with std::find or others
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-27 07:47:18 -08:00
Rosen Penev
842ef05ee6
return nullptr instead of reset
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-05 23:29:31 -08:00
Mohamed Ali Chebbi
1c764358bb
Encapsulate video support with compilation variable EXV_ENABLE_VIDEO ( #2448 )
...
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: add variable to unit test files
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: encapsulate in makefile
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: fix PR windows matrix
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: activate only for concerned CI tests
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: desable for linux release
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: add to Fuzz PR
2023-01-04 13:01:34 +01:00
Rosen Penev
ff0491a102
clang-tidy: use make_unique
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-12-31 02:12:17 -08:00
Rosen Penev
ce8920a0ea
clang-tidy: various fixes
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-12-31 02:12:17 -08:00
Kevin Backhouse
9d044d30b1
Use Safe::add
2022-11-23 12:37:09 +00:00
Kevin Backhouse
292082df6f
Add break to loop to fix issue 2423, plus some other cleanups.
2022-11-23 12:37:09 +00:00
Kevin Backhouse
771ead8732
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52731
...
Stop looping when eof is hit.
2022-10-26 22:07:11 +01:00
Kevin Backhouse
6bb956ad80
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52382
...
Avoid null pointer deref.
2022-10-22 15:55:02 +01:00
Kevin Backhouse
597e372b1c
clang-format
2022-10-08 22:33:48 +01:00
Kevin Backhouse
459910c36a
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=51751
...
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52053
Avoid null pointer deref and heap buffer overflow.
2022-10-08 21:40:04 +01:00
Kevin Backhouse
b3bd36c749
clang-format
2022-09-28 21:22:35 -07:00
Kevin Backhouse
0db460c9b0
nul-terminate string
2022-09-28 21:22:35 -07:00
Kevin Backhouse
a38e124076
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=51707
...
Resize buf to avoid buffer overflow.
2022-09-28 21:22:35 -07:00
Kevin Backhouse
640b0fbf5d
Merge pull request #2346 from kevinbackhouse/fix-issue-2345
...
Fix buffer overflow in QuickTimeVideo::tagDecoder
2022-09-21 14:54:37 +01:00
Kevin Backhouse
344764a7de
Fix clang-format error.
2022-09-05 17:53:46 +01:00
Kevin Backhouse
bf4f28b727
Avoid potential integer overflow.
2022-09-05 17:48:28 +01:00
Kevin Backhouse
d3651fdbd3
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50901
...
Resize buf to avoid buffer overflow.
2022-09-05 17:33:43 +01:00
Christoph Hasse
337fe1854f
fix(quicktimevideo) avoid out of bounds read, closes #2340
2022-08-31 16:32:11 +02:00
Christoph Hasse
e4adf388aa
fix(quicktimevideo) cleanup and hardening as suggested in review by @kevinbackhouse
2022-08-24 17:39:42 +02:00
Christoph Hasse
0577057548
fix(quicktimevideo) silence windows warnings
2022-08-24 17:39:42 +02:00
Christoph Hasse
ce4b9f0ff9
fix(video) dont throw in isQTimeType
2022-08-24 17:39:42 +02:00
Christoph Hasse
3456f30988
fix(video) clang-format quicktimevideo
2022-08-24 17:39:42 +02:00
Christoph Hasse
393815ffb0
fix(video) filetype detection: handle video via quicktimevideo.cpp and other ftyp files in bmffimage
2022-08-24 17:39:42 +02:00
Christoph Hasse
0a948c6a7d
feat(video) revive quicktime.{h,cpp} and adapt to codebase changes.
2022-08-24 17:39:42 +02:00
Luis Díaz Más
061ec1a75d
Remove deprecated QuickTime support
2021-04-18 09:44:51 +02:00
Robin Mills
d632988bbd
Massive code prolog cleanup.
2021-03-17 13:34:21 +00:00
Luis Diaz Mas
6f8d8e3da6
cleanup header inclusions in API
2019-01-11 15:55:25 +01:00
Luis Díaz Más
603692a1d8
Copyright to Exiv2 authors
2018-09-12 19:22:31 +02:00
Luis Díaz Más
e82cd1734c
Fix warnings reported by -Wmisleading-indentation
2018-05-31 14:44:24 +02:00
Dan Čermák
efe2ccdcb6
Replaced all hardcoded error codes with ker... constants
2018-02-18 09:28:57 +01:00
tbeu
5b5987a596
Remove obsolete EXIV2_RCSID
2017-11-19 11:17:12 +01:00
tbeu
5df8b01b77
Remove obsolete svn revision
2017-11-19 11:17:11 +01:00
Robin Mills
afba52e042
Remove include tags_int.hpp from include/exiv2/*video.hpp files
2017-08-18 13:52:05 +01:00
Robin Mills
6d5c2c3256
Getting ready to release v0.26
2017-03-08 20:42:28 +00:00
Andreas Huggel
67aef6117a
Only compile video source code if it is enabled.
2015-06-07 16:29:06 +00:00
Robin Mills
c1933e6882
msvc2005/configure.py fixes discovered by testing configure -vat and configure -Vat (with/without video).
2015-05-08 14:13:56 +00:00
Andreas Huggel
fd80993ab0
Updated copyright notice.
2015-05-02 11:55:40 +00:00
Robin Mills
5aec2c4957
#1069 . Make video a build option (msvc/autotools/cmake). Default is not to build video or webready.
2015-04-30 15:31:18 +00:00
Robin Mills
6b89dc9452
#1038 . Initialize timeScale_ in ctor because MSVC (correctly) refused header member variable initialization.
2015-03-21 22:33:21 +00:00
Robin Mills
41243f8653
#1038 . Thank You to Vitaliy for reporting this and providing the patch.
2015-03-09 10:28:08 +00:00
Robin Mills
9a02b24a80
#1022 . Thank You Mathieu for reporting this and providing the patch.
2015-01-08 12:35:59 +00:00
Robin Mills
188ad84090
Issue: 999 . Fix divide by zero exception.
2014-11-19 22:22:38 +00:00
Robin Mills
27ef590773
Roll-back for 3355 (GSoC2013 video write code). Regrettably, this appears to cause all MSVC build to fail our test harness. I'll deal with the video13 code in a different branch.
2014-09-16 08:20:18 +00:00
Robin Mills
74e8adfa37
fix MSVC build errors for GSoC2013 VideoWrite
2014-09-07 13:51:02 +00:00
Robin Mills
66e473db32
GSoC2013 Video Write Code. Thank You, Mahesh for a lot of hard work. And Thanks to Abhinav for mentoring. Great Job, Guys.
2014-09-07 11:59:45 +00:00
Abhinav Badola
54106894b2
#960 : Fixed a small bug found by coverity scan results
2014-06-19 20:43:50 +00:00
Robin Mills
4e530fbce0
Bumping the copyright notice again. (re-doing 3089 without breaking the build!)
2013-07-24 05:15:04 +00:00
Robin Mills
a297d2b69e
Rollback 3089 - somehow it's broken the build!
2013-07-24 05:05:52 +00:00