Michael Niedermayer
2e069f6b69
avformat/alp: Check num_channels
...
Fixes: division by 0
Fixes: 45615/clusterfuzz-testcase-minimized-ffmpeg_dem_ALP_fuzzer-582660348405350
Fixes: 45625/clusterfuzz-testcase-minimized-ffmpeg_dem_ALP_fuzzer-4821437943250944
Fixes: 45839/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-5857286998851584.fuzz
Fixes: 45844/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-6552705772945408
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Martin Storsjö
a78f136f3f
configure: Use a separate config_components.h header for $ALL_COMPONENTS
...
This avoids unnecessary rebuilds of most source files if only the
list of enabled components has changed, but not the other properties
of the build, set in config.h.
Signed-off-by: Martin Storsjö <martin@martin.st>
3 years ago
James Almer
641761ac6e
alp: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Andreas Rheinhardt
1be3d8a0cb
avcodec/avcodec: Stop including channel_layout.h in avcodec.h
...
Also include channel_layout.h directly wherever used.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Zane van Iperen
0c538ce30d
avformat/alp: don't set bits_per_raw_sample
...
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
4 years ago
Andreas Rheinhardt
bc70684e74
avformat: Constify all muxer/demuxers
...
This is possible now that the next-API is gone.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
Zane van Iperen
ea9732c5d6
avformat/alp: allow seeking to start
...
Allows "ffplay -loop" to work.
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
4 years ago
Zane van Iperen
7a11cc29d6
avformat: add alp muxer
4 years ago
Zane van Iperen
5df7fd1cbe
avformat/alp: fix handling of TUN files
...
Sample rate is always 22050. Verified by trying various files in the game.
4 years ago
Zane van Iperen
d99f3dc6b2
avformat/alp: tweak probe function to return MAX-1
...
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
5 years ago
Zane van Iperen
608b8a8c82
avformat: add demuxer for LEGO Racers' ALP format
...
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago