summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* avutil/buffer: avutil/buffer: add a mention that some arguments from ↵James Almer2020-06-05
| | | | | | av_buffer_pool_init2() may be NULL Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/buffer: use the default allocator if none is provided to ↵James Almer2020-06-05
| | | | | | av_buffer_pool_init2() Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/mv30: Fix multiple integer overflows in idct_1d()Michael Niedermayer2020-06-04
| | | | | | | | Fixes: signed integer overflow: -4869937 * 473 cannot be represented in type 'int' Fixes: 21934/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MV30_fuzzer-5667289925156864 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mv30: Do not allow MVs outside the allocated imageMichael Niedermayer2020-06-04
| | | | | | | | Fixes: out of array read Fixes: 21804/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MV30_fuzzer-5673678898724864 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/wmalosslessdec: Fix integer overflow in mclms_predict()Michael Niedermayer2020-06-04
| | | | | | | | Fixes: signed integer overflow: 2147483636 + 2048 cannot be represented in type 'int' Fixes: 22016/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMALOSSLESS_fuzzer-5109395618004992 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/vp9dsp_template: Fix integer overflow(s) in iadst16_1d()Michael Niedermayer2020-06-04
| | | | | | | | Fixes: signed integer overflow: 1080285923 - -1130879337 cannot be represented in type 'int' Fixes: 22002/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP9_fuzzer-6260237310099456 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/wavpack: Do not allow the sample format to change between channelsMichael Niedermayer2020-06-04
| | | | | | | | | | Fixes: out of array access Fixes: 22692/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WAVPACK_fuzzer-5678686190960640 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: David Bryant <david@wavpack.com> Tested-by: David Bryant <david@wavpack.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bitpacked: add missing comma to codec tagsMichael Niedermayer2020-06-04
| | | | | | | | | Fixes: array end overread Fixes: 22395/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BITPACKED_fuzzer-5760940300828672 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: James Darnley <james.darnley@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/utils: Find a fallback probe decoder that will also match a forced ↵Samuel Foss2020-06-04
| | | | | | | | | decoder's codec. Prevent codecpar->codec_id from getting out of sync with the codec instantiated for probing. Signed-off-by: Samuel Foss <sfoss@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/nvenc: honor max bitrate in CQ modeRoman Arzumanyan2020-06-04
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* hwcontext_vulkan: fix make checkheaders failJun Zhao2020-06-04
| | | | | | | | | | | | make checkheaders will get error as follow: CC libavutil/hwcontext_vulkan.h.o In file included from libavutil/hwcontext_vulkan.h.c:1: ./libavutil/hwcontext_vulkan.h:130:23: error: ‘AV_NUM_DATA_POINTERS’ undeclared here (not in a function) 130 | void *alloc_pnext[AV_NUM_DATA_POINTERS]; | ^~~~~~~~~~~~~~~~~~~~ ./libavutil/hwcontext_vulkan.h:199:43: warning: ‘enum AVPixelFormat’ declared inside parameter list will not be visible outside of this definition or declaration Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avcodec/decode: actually propagate AVHWAccel.alloc_frame() return valueJames Almer2020-06-04
| | | | | | | Finishes fixing the regression introduced in a1133db30ef07896afd96f067e5c51531a4e85ab after the partial fix in b6d6597bef66531ec07c07a7125b88aee38fb220. Signed-off-by: James Almer <jamrial@gmail.com>
* fate/vcodec: use the encoder private option for frame skip compare functionJames Almer2020-06-04
| | | | | | Stop using the deprecated global option Signed-off-by: James Almer <jamrial@gmail.com>
* lavf/tee: pass options to protocol.Nicolas George2020-06-04
| | | | Fix trac ticket #8705.
* dnn/native: fix typo for definition of DOT_INTERMEDIATEWu Zhiwen2020-06-03
| | | | | Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com> Reviewed-by: Guo Yejun <yejun.guo@intel.com>
* avcodec/ratecontrol: fix the integer overflow after long time runLimin Wang2020-06-03
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avcodec/internal: move packet related functions to their own headerJames Almer2020-06-02
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/prompeg: av_dict_set() -> av_dict_set_int()Limin Wang2020-06-02
| | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat/rtpproto: av_dict_set() -> av_dict_set_int()Limin Wang2020-06-02
| | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat/rtspdec: av_dict_set() -> av_dict_set_int()Limin Wang2020-06-02
| | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* compat/cuda/ptx2c: remove shell loop; fix BSD sed compatrcombs2020-06-01
| | | | This fixes building on macOS, and improves build times dramatically there
* avcodec/h264dec: Disable forced small_padding on flag2 fastMichael Niedermayer2020-06-02
| | | | | | | Fixes: 20978/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5746381832847360 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/jpeg2000dec: clear pointer which become stale in get_ppt()Michael Niedermayer2020-06-01
| | | | | | | | | Fixes: use after free Fixes: 22484/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5671488765296640 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Gautam Ramakrishnan <gautamramk@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add adpcm_ima_ssi encoding testZane van Iperen2020-06-01
| | | | | Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fftools/ffmpeg: update text requesting samplesAndriy Gelman2020-06-01
| | | | | Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> Reviewed-by: Marton Balint <cus@passwd.hu>
* avcodec/nvenc: zero avg and max bitrate in CQ modeRoman Arzumanyan2020-06-01
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* checkasm: sw_rgb: Fix mixed declaration and codeJun Zhao2020-06-01
| | | | | | | Fix mixed declaration and code. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avformat/dashenc: use AVStream timebase when computing missing bitratePrzemysław Sobala2020-06-01
|
* avfilter/vf_lut3d: Fix mixed declaration and codeAndreas Rheinhardt2020-06-01
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avcodec/encode: Remove ff_alloc_packetAndreas Rheinhardt2020-06-01
| | | | | | | It is no longer used anymore. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avcodec/mpeg12enc: support mpeg2 encoder const profileLimin Wang2020-06-01
| | | | | Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat/mpegtsenc: set stream_id correctly based on KLV profile selectedBrad Hards2020-05-31
| | | | | | | Previously we always set STREAM_TYPE_PRIVATE_DATA, and that remains the default value. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec: add constants for KLV pseudo-profile.Brad Hards2020-05-31
| | | | | | | | | | | | | | | | | There are two different ways KLV is used in MISB specs - sync and async. The corresponding text (in ST1401) says: ISO/IEC 13818-1 Table-34 defines a stream_type = 0x15 for “Metadata carried in PES packets,” and Table 2-22 defines a stream_id = 0xFC for “metadata stream.” and In ISO/IEC 13818-1, Table-34 defines a stream_type = 0x06 for “PES packets containing private data,” and Table 2-22 defines a stream_id = 0xBD for “private_stream_1.” These constants allow us to distinguish the two cases, as codec profiles. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/anm: Don't unnecessarily use context variablesAndreas Rheinhardt2020-05-31
| | | | | Reviewed-by: Peter Ross <pross@xvid.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avcodec/anm: Check extradata length before allocating frameAndreas Rheinhardt2020-05-31
| | | | | | | | Then one doesn't need to free the frame in case the length turns out to be insufficient. Reviewed-by: Peter Ross <pross@xvid.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avformat: add kvag muxerZane van Iperen2020-05-31
| | | | | Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_lut3d: prelut support for 3d cinespace lutsMark Reid2020-05-31
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/oggparsetheora: Don't update start time when lastpts is AV_NOPTS_VALUE.Dale Curtis2020-05-31
| | | | | Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_aiir: simplify polynomial evaluationPaul B Mahol2020-05-30
|
* avfilter/af_aiir: use correct size when allocating in zp2tfPaul B Mahol2020-05-30
|
* avfilter: add dblur video filterPaul B Mahol2020-05-30
|
* avcodec: add PFM image decoderPaul B Mahol2020-05-30
|
* lavf/utils: fix start_time/duration dump if it is AV_NOPTS_VALUEJun Zhao2020-05-30
| | | | | | | | | | | | e,g: the command: ffprobe -show_format -i fate-suite/aac/foo.aac -loglevel 99 will dump the trace message as follow when start_time is AV_NOPTS_VALUE [aac @ 0x55bf8e1f3dc0] stream 0: start_time: -326791809695.818 duration: 2.174 [aac @ 0x55bf8e1f3dc0] format: start_time: -9223372036854.775 duration: 2.174 bitrate=120 kb/s after this fix, will dump the start_time with "NOPTS". Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* lavfi/aiir: Refine the pad/vpad related operationJun Zhao2020-05-30
| | | | | | | move the pad/vpad related operation with more natural coding style. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* lavfi/afir: fix vpad.name leakJun Zhao2020-05-30
| | | | | | | Fix vpad.name leak in error path, move the vpad related operation only if enabled show IR frequency response. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avutil/attributes: Fix too many warning: false is not defined [-Wundef]Limin Wang2020-05-30
| | | | | | Reviewed-by: James Almer <jamrial@gmail.com> Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* Revert "avfilter/af_aiir: move response drawing as last step"Paul B Mahol2020-05-30
| | | | This reverts commit ca7095a9072fab4cdb41af12da9d94752e082e34.
* avfilter/af_aiir: improve response calculation with zp coefficientsPaul B Mahol2020-05-30
|
* avfilter/af_aiir: add S-plane supportPaul B Mahol2020-05-30
|
* avfilter/af_aiir: make it clear that transfer function is digital onePaul B Mahol2020-05-30
|