summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avformat/pcmdec: add support to set channel layoutPaul B Mahol2022-03-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avutil/opt: add missing case for AV_OPT_TYPE_CHLAYOUT in av_opt_free()James Almer2022-03-18
| | | | | | Fixes potential memleaks for existing options of this type. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/matroskadec: Check pre_nsMichael Niedermayer2022-03-18
| | | | | | | | Fixes: division by 0 Fixes: 44615/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-6681108677263360 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/sonic: Use unsigned for predictor_k to avoid undefined behaviorMichael Niedermayer2022-03-18
| | | | | | | | Fixes: signed integer overflow: -1094995529 * 24 cannot be represented in type 'int' Fixes: 44436/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SONIC_fuzzer-4874459459223552 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ccaption_dec: Use ff_ass_add_rect2()Michael Niedermayer2022-03-18
| | | | | | | | Fixes: Timeout Fixes: 42258/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CCAPTION_fuzzer-5540144118104064 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ass: Faster ff_ass_add_rect()Michael Niedermayer2022-03-18
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/setts_bsf: fix memleakZhao Zhili2022-03-18
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/alsdec: Set channels from data after data is setMichael Niedermayer2022-03-18
| | | | | | | | | | Fixes: out of array write Fixes: 45624/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALS_fuzzer-6473487382872064 Fixes: 45626/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALS_fuzzer-4874997192065024 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dfpwmdec: Check packet size more completelyMichael Niedermayer2022-03-18
| | | | | | | | | | Fixes: out of array access Fixes: 45497/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DFPWM_fuzzer-5239786212818944.fuzz Fixes: 45510/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DFPWM_fuzzer-4947856883056640 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_afftdn: do not profile noise if number of sampled blocks is 0Paul B Mahol2022-03-18
|
* avfilter/af_afftdn: refactor set_noise_profile()Paul B Mahol2022-03-18
|
* avfilter/af_afftdn: remove unused definesPaul B Mahol2022-03-18
|
* fate: add tpad filter testsPaul B Mahol2022-03-18
|
* gitignore: add config_components.hJames Almer2022-03-17
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Makefile: check config_components.h when comparing timestamps in component ↵James Almer2022-03-17
| | | | | | list files Signed-off-by: James Almer <jamrial@gmail.com>
* Makefile: delete config_components.h on distcleanJames Almer2022-03-17
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tools/target_dec_fuzzer: Adjust threshold for TQIMichael Niedermayer2022-03-17
| | | | | | | | Fixes: Timeout Fixes: 44455/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EATQI_fuzzer-6069950551293952 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/libuavs3d: Check ff_set_dimensions() for failureMichael Niedermayer2022-03-17
| | | | | | Untested, no testcase Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/speexdec: Align some commentsMichael Niedermayer2022-03-17
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/speexdec: Use correct doxygen commentsMichael Niedermayer2022-03-17
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust threshold for DSICINVIDEOMichael Niedermayer2022-03-17
| | | | | | | Fixes: Timeout Fixes: 44829/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DSICINVIDEO_fuzzer-6190334340628480 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dfa: Optimize output reshuffle loopMichael Niedermayer2022-03-17
| | | | | | 18035 -> 4018 dezicycles (Tested with LOGOS.DFA, gcc 7, 3950X) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mjpegbdec: Set buf_sizeMichael Niedermayer2022-03-17
| | | | | | | | Fixes: Timeout Fixes: 45170/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MJPEGB_fuzzer-5874820431085568 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/matroskadec: Use rounded down duration in get_cue_desc() checkMichael Niedermayer2022-03-17
| | | | | | | | | | Floating point is evil, it would be better if duration was not a double Fixes: Infinite loop Fixes: 45123/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-6725052291219456 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/boadec: fix check for invalid channel countJames Almer2022-03-17
| | | | | | Regression since 8269fbcb7ab3b1df3c186126d7f67be7cb7c8f39. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/setts_bsf: don't repeatedly set start pts and dtsJames Almer2022-03-17
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate: add a setts bsf testJames Almer2022-03-17
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/imfdec: Convert to the new channel layout APIAndreas Rheinhardt2022-03-17
| | | | | Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* doc/filters: add some afftdn examplesPaul B Mahol2022-03-17
|
* doc/filters: mention sample_noise/sn options tooPaul B Mahol2022-03-17
| | | | Also simplify commands section.
* avfilter/af_afftdn: expose floor offset factor optionPaul B Mahol2022-03-17
|
* Fix libversion.sh for split version headers, to unbreak shared library buildsMartin Storsjö2022-03-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec/setts_bsf: fix setting output timebaseJames Almer2022-03-16
| | | | | | | Set a valid max value for the option, and also check numerator before assuming the value is useful. Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/af_afftdn: rewrite noise floor trackingPaul B Mahol2022-03-16
|
* avfilter/af_afftdn: remove excessive operationsPaul B Mahol2022-03-16
|
* avformat/mxfenc: do not write index tables with the same InstanceUIDMarton Balint2022-03-16
| | | | | | | | Only index tables repeating previous index tables should use the same InstaceUID. Use the index start position when generating the InstanceUID to fix this. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/mxfenc: allow more bits for variable part in uuid generationMarton Balint2022-03-16
| | | | | | Also make sure we do not change the product UID. Signed-off-by: Marton Balint <cus@passwd.hu>
* fate: add epx testsPaul B Mahol2022-03-16
|
* fate: add chromashift testsPaul B Mahol2022-03-16
|
* avfilter/vf_zscale: realign output buffer if neededMarton Balint2022-03-16
| | | | | | | | | | Output buffer alignment might be different to ZIMG_ALIGNMENT or it may not be aligned at all if a downstream filter (e.g. vf_pad) intentionally misaligns it. Or maybe we should unconditionally always allocate output with av_frame_get_buffer() instead of ff_get_video_buffer()? Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_zscale: properly check return value of slice threadsMarton Balint2022-03-16
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_zscale: fix number of threadsMarton Balint2022-03-16
| | | | | | | Make sure it is between [1, MAX_THERADS] and also take into account the outlink size in order not to request zero height output from zscale. Signed-off-by: Marton Balint <cus@passwd.hu>
* ffmpeg: remove usage of internal deprecation macroJames Almer2022-03-16
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/attributes: add support for clang in AV_NOWARN_DEPRECATEDJames Almer2022-03-16
| | | | | Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: Use a separate config_components.h header for $ALL_COMPONENTSMartin Storsjö2022-03-16
| | | | | | | | 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>
* doc: Add an entry to APIchanges about changes to version.h and version_major.hMartin Storsjö2022-03-16
| | | | | | | | Also bump the minor versions of all libraries, to signify the API change of splitting the version.h headers and adding the new version_major.h header. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavfilter: Split version.hMartin Storsjö2022-03-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libswscale: Split version.hMartin Storsjö2022-03-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libswresample: Split version.hMartin Storsjö2022-03-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libpostproc: Split version.hMartin Storsjö2022-03-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>