summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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>
* libavdevice: Split version.hMartin Storsjö2022-03-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Split version.hMartin Storsjö2022-03-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Split version.hMartin Storsjö2022-03-16
| | | | | | | | | | | | | | This avoids including version.h in all source files, avoiding unnecessary rebuilds when the version number is bumped. Only version_major.h is included by the main header, which defines availability of e.g. FF_API_* macros, and which is bumped much less often. This isn't done for libavutil/version.h, because that header needs to be included essentially everywhere due to LIBAVUTIL_VERSION_INT being used wherever an AVClass is constructed. Signed-off-by: Martin Storsjö <martin@martin.st>
* avutil/channel_layout: remove duplicate stereo downmix entryJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tools/target_dec_fuzzer: Fix build failure from channels APIMichael Niedermayer2022-03-15
| | | | | | | Regression since 2f8ccca2fa94ce256ff77baa18f462c1abd8d2cc and surrounding commits Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/channel_layout: do not copy alloc new map for extra channel layoutMarton Balint2022-03-15
| | | | | | | Also use av_channel_layout_bprint directly for describing channel layout for extra channels. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/channel_layout: fix av_channel_layout_describe_bprint with custom and ↵Marton Balint2022-03-15
| | | | | | | | | | | | | ambisonic channels bp->len cannot be used to detect if try_describe_ambisonic was successful because the bprint buffer might contain other data as well. Also describing an invalid ambisonic layout should not return 0 but AVERROR(EINVAL) instead, so change try_describe_ambisonic to actually return error on invalid ambisonics. This also allows us to fix the first issue. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/channel_layout: factorize ambisonic order detectionMarton Balint2022-03-15
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/channel_layout: print channels using av_channel_name_bprint in ↵Marton Balint2022-03-15
| | | | | | | | | av_channel_layout_describe_bprint This reduces code duplication an allows printing AMBI%d channel names for custom layouts for non-standard or partial ambisonic layouts. Signed-off-by: Marton Balint <cus@passwd.hu>
* tests: Add fate-bsf-dv-error-markerMichael Niedermayer2022-03-15
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hevc_refs: don't use the frame's AVBufferRef sizes when initializing ↵James Almer2022-03-15
| | | | | | | | | planes Use the actual plane sizes instead. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/buffersink: simplify parsing the input channel layout stringJames Almer2022-03-15
| | | | | | And remove a stray comma in the list of supported separators. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/codec_par: do not copy AVChannelLayout struct directlyMarton Balint2022-03-15
| | | | | | | Later we use av_channel_layout_copy, but that uninits the struct unintentionally freeing the possibly allocated u.map pointer. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/af_biquads: fix possible leak on errorPaul B Mahol2022-03-15
| | | | Recently introduced.
* avfilter/af_join: Don't use memcpy for overlapping regionsAndreas Rheinhardt2022-03-15
| | | | | | | | Reported by ASAN as memcpy-param-overlap when running the filter-join FATE-test. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>