James Almer
2e16285fe8
avformat/iamf_reader: split "if ((ret = ...) < 0)" line
...
Cosmetic change.
Signed-off-by: James Almer <jamrial@gmail.com>
2024-05-05 21:37:07 -03:00
Michael Niedermayer
f26ee6e066
avformat/iamf_reader: Check len before summing
...
Fixes: integer overflow
Fixes: 67275/clusterfuzz-testcase-minimized-ffmpeg_dem_IAMF_fuzzer-5438920751906816
Fixes: 67688/clusterfuzz-testcase-minimized-ffmpeg_dem_IAMF_fuzzer-5970342318243840
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-04-01 18:17:28 +02:00
Andreas Rheinhardt
790f793844
avutil/common: Don't auto-include mem.h
...
There are lots of files that don't need it: The number of object
files that actually need it went down from 2011 to 884 here.
Keep it for external users in order to not cause breakages.
Also improve the other headers a bit while just at it.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-03-31 00:08:43 +01:00
James Almer
97d2990ea6
avformat/iamf_reader: propagate avio_skip() error values
...
Fixes: null pointer derference
Fixes: 67007/clusterfuzz-testcase-minimized-ffmpeg_dem_IAMF_fuzzer-6522819204677632
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2024-03-21 09:08:22 -03:00
James Almer
ec7937f4a5
avformat/iamf: remove duplicated function
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-02-29 12:57:25 -03:00
James Almer
c7266ad60f
avformat/iamfdec: further split into shareable modules
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-02-19 20:53:36 -03:00