summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* avcodec/movtextdec: add () to CMP() macro to avoid unexpected behaviorMichael Niedermayer2022-02-25
| | | | | Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/matroskadec: Check durationMichael Niedermayer2022-02-25
| | | | | | | | | Fixes: -nan is outside the range of representable values of type 'long' Fixes: 44614/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-6216204841254912 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dem_fuzzer: Check fmt before dereferencingMichael Niedermayer2022-02-25
| | | | | | | | Fixes: NULL pointer dereference Fixes: 44884/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-4656748688965632 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/f_ebur128: set video outlink timebase and frameratePaul B Mahol2022-02-25
|
* avfilter/f_ebur128: also set max peak for all channels in frame metadataPaul B Mahol2022-02-25
|
* avfilter/af_dynaudnorm: cleanup gaussian_filter() functionPaul B Mahol2022-02-25
|
* swscale: Take the destination range into account for yuv->rgb->yuv conversionsMartin Storsjö2022-02-25
| | | | | | | | | | | | The range parameters need to be set up before calling sws_init_context (which selects which fastpaths can be used; this gets called by sws_getContext); solely passing them via sws_setColorspaceDetails isn't enough. This fixes producing full range YUV range output when doing YUV->YUV conversions between different YUV color spaces. Signed-off-by: Martin Storsjö <martin@martin.st>
* Remove mentions of a nonexistent avversion.hMartin Storsjö2022-02-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec/libsvtav1: update some options and defaultsJames Almer2022-02-24
| | | | | | And bump the minimum required version to 0.9.0 Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/af_crystalizer: refactor codePaul B Mahol2022-02-24
|
* avfilter/vf_tmidequalizer: check that frame is validPaul B Mahol2022-02-24
|
* libavcodec, libavdevice: Remove unnecessary includes of version.hMartin Storsjö2022-02-24
| | | | | | | | | | | | | | | xvmc.h used FF_API_* macros before, but they were removed in 1c63aed232febf4404659bf006237ee4f7f17c9c, leaving the include unused. The ones in android_camera.c and mediacodec_wrapper.c have been added due to a misunderstanding, fixed in c0bce367e4932f0fb09195e6978ac1a5a60480a4 and 13b77af2f0b56d6c87bb147947337981c21f4245. The one in mediacodec.c seems to never have been used at all. Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter/vf_tpad: handle case when no frame was ever receivedPaul B Mahol2022-02-24
|
* avfilter/vf_tpad: if there is no frame to clone return earlyPaul B Mahol2022-02-24
|
* avcodec/libsvtav1: fix compilation with old SVT-AV1 buildsJames Almer2022-02-24
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libsvtav1: add a svtav1-params option to pass a list of key=value ↵James Almer2022-02-24
| | | | | | parameters Signed-off-by: James Almer <jamrial@gmail.com>
* Remove unnecessary libavutil/(avutil|common|internal).h inclusionsAndreas Rheinhardt2022-02-24
| | | | | | | | | | Some of these were made possible by moving several common macros to libavutil/macros.h. While just at it, also improve the other headers a bit. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/avassert: Don't include avutil.hAndreas Rheinhardt2022-02-24
| | | | | Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* Remove obsolete version.h inclusionsAndreas Rheinhardt2022-02-24
| | | | | | | Forgotten in e7bd47e657bbf9e1ce9915e93bc80cb1a29fb7f3. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/display: Don't include avutil.hAndreas Rheinhardt2022-02-24
| | | | | Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/integer: Don't include common.hAndreas Rheinhardt2022-02-24
| | | | | Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/pixelutils: Don't include common.hAndreas Rheinhardt2022-02-24
| | | | | Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/samplefmt: Don't include attributes.h, avutil.hAndreas Rheinhardt2022-02-24
| | | | | Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/imgutils: Don't include avutil.hAndreas Rheinhardt2022-02-24
| | | | | | | | It is a remnant of an FF_API_* inclusion (back from when they were in avutil.h and not in version.h). Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/eval: Don't include avutil.hAndreas Rheinhardt2022-02-24
| | | | | | | It has been added for an FF_API_* at a time when these were in avutil.h. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/file: Don't include avutil.hAndreas Rheinhardt2022-02-24
| | | | | Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/fifo: Don't include avutil.hAndreas Rheinhardt2022-02-24
| | | | | Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/audio_fifo: Avoid avutil.h inclusionAndreas Rheinhardt2022-02-24
| | | | | Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/log: Don't include avutil.hAndreas Rheinhardt2022-02-24
| | | | | | | | | | | | It has been included since af5f434f8c0fb3b4ee3b206ebc1946ca660a8abe for deprecation reasons, but removing it has been forgotten after it had served is purpose. So remove it. For convenience, include version.h instead as LIBAVUTIL_VERSION_INT is supposed to be used when creating AVClasses. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/avio: Don't include common.hAndreas Rheinhardt2022-02-24
| | | | | Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* doc/muxers: note video_track_timecale in movGyan Doshi2022-02-24
|
* avfilter/f_ebur128: multiply is usually faster than dividePaul B Mahol2022-02-24
| | | | Also guard against overflow when subtracting from unsigned.
* avfilter/f_ebur128: use unsigned for hist_entry.countPaul B Mahol2022-02-24
| | | | Also when summing multiple hist_entry.count use uint64_t for accumulator.
* avfilter/af_loudnorm: increase max allowed LRAPaul B Mahol2022-02-23
|
* avformat/avisynth: remove framedata variableStephen Hutchinson2022-02-23
| | | | | | | | It's just a simple index. Addresses Coverity issue 1500290 Signed-off-by: Stephen Hutchinson <qyot27@gmail.com>
* avformat/avisynth: remove unused variable 'frameprop'Stephen Hutchinson2022-02-23
| | | | | | | Since the check got simplified and stdbool was no longer necessary to include, neither is that variable. Silences a warning. Signed-off-by: Stephen Hutchinson <qyot27@gmail.com>
* avfilter/avf_showfreqs: stop using audio fifoPaul B Mahol2022-02-23
| | | | Also stop rewriting pts.
* avformat/nutdec: Add check for avformat_new_streamJiasheng Jiang2022-02-23
| | | | | | | Check for failure of avformat_new_stream() and propagate the error code. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/magicyuvenc: Remove unused context variableAndreas Rheinhardt2022-02-23
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/magicyuvenc: Don't modify input frameAndreas Rheinhardt2022-02-23
| | | | | | | | It need not be writable at all. Instead, use temporary buffers for decorrelation. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/magicyuvenc: Add const where appropriateAndreas Rheinhardt2022-02-23
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/magicyuvenc: Avoid unnecessary av_frame_clone()Andreas Rheinhardt2022-02-23
| | | | | | | | | It is unnecessary and unchecked; the intention seems to be to ensure that the frame's data is writable, but it does not provide this. This will be fixed in a latter commit. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fftools/ffprobe: Remove redundant checksAndreas Rheinhardt2022-02-23
| | | | | | | A decoder is only opened if there is a decoder for the codec, so every AVCodecContext here has AVCodecContext.codec set. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fftools/ffprobe: Flush decoder after drainingAndreas Rheinhardt2022-02-23
| | | | | | | | | This is a prerequisite to continue using the decoder at all to decode the next interval (if any). This fixes a regression introduced in commit 2a88ebd096f3c748a2d99ed1b60b22879b3c567c and reported in ticket #8657. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/af_surround: use outlink variable already availablePaul B Mahol2022-02-22
|
* avfilter/af_afftfilt: stop resetting ptsPaul B Mahol2022-02-22
| | | | Also stop using audio fifo.
* avfilter/af_surround: do not rewrite pts any morePaul B Mahol2022-02-22
| | | | Also stop using fifo and excessive peeking.
* avfilter/af_afir: remove pts rewriting codePaul B Mahol2022-02-22
| | | | This is not needed at all.
* lavd/avfoundation: Fix mixed declaration and codeThilo Borgmann2022-02-22
|
* avdevice/avfoundation: check strdupZhao Zhili2022-02-22
|