summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avfilter/vf_estdif: remove float usagePaul B Mahol2023-05-092-16/+16
|
* avfilter/vf_estdif: fix recently introduced regressionPaul B Mahol2023-05-091-1/+1
|
* avfilter: add zoneplate video test sourcePaul B Mahol2023-05-096-2/+300
|
* avfilter/asrc_anoisesrc: improve velvet noise outputPaul B Mahol2023-05-092-10/+18
|
* avfilter/vf_feedback: fix artifacts with subsampled chromaPaul B Mahol2023-05-091-4/+4
|
* avfilter/vf_mpdecimate: Add option to keep the first N similar frames before ↵Thilo Borgmann2023-05-083-3/+25
| | | | | | dropping This allows for decimating large similar portions of a video while preserving small ones.
* avfilter/vf_morpho: add slice threading supportPaul B Mahol2023-05-081-99/+158
|
* avfilter/vf_morpho: remove unused function's argumentPaul B Mahol2023-05-081-3/+3
|
* avfilter/vf_morpho: move structure processing in separate loopPaul B Mahol2023-05-081-17/+22
|
* fftools/ffprobe: print exported stream AVOptionsJames Almer2023-05-085-18/+25
| | | | | | | Similar to the decoder AVOptions, this is useful to show values from options exported by the demuxer. Signed-off-by: James Almer <[email protected]>
* fftools/ffmpeg: discard packets for unused streams in demuxing threadAnton Khirnov2023-05-082-5/+2
| | | | Avoids the pointless overhead of transferring them to the main thread.
* fftools/ffmpeg_filter: use InputFilterPriv.eof instead of InputFile.eof_reachedAnton Khirnov2023-05-081-5/+6
| | | | | | The two checks using eof_reached are testing whether more input can possibly appear on this filtergraph input. InputFilterPriv.eof is the more authoritative source for this information.
* fftools/ffmpeg: move unconfigured graph handling to ffmpeg_filterAnton Khirnov2023-05-082-24/+28
| | | | This code more properly belongs there.
* fftools/ffmpeg_filter: use av_buffer_replace() to improve codeAnton Khirnov2023-05-081-7/+3
| | | | It is shorter and more efficient.
* fftools/ffmpeg_filter: move InputFilter.hw_frames_ctx to private dataAnton Khirnov2023-05-082-9/+9
| | | | It is not used outside of ffmpeg_filter.
* fftools/ffmpeg_filter: move InputFilter.displaymatrix to private dataAnton Khirnov2023-05-082-7/+9
| | | | It is not used outside of ffmpeg_filter.
* fftools/ffmpeg_filter: move InputFilter.eof to private dataAnton Khirnov2023-05-082-4/+5
| | | | It is not used outside of ffmpeg_filter.
* fftools/ffmpeg_filter: take fallback parameters from decoder, not demuxerAnton Khirnov2023-05-084-25/+67
| | | | | | | | | | When an input stream terminates and no frames were successfully decoded, filtering code will currently configure the filtergraph using demuxer stream parameters. Use decoder parameters instead, which should be more reliable. Also, initialize them immediately when an input stream is bound to a filtergraph input, so that these parameters are always available (if at all) and filtering code does not need to reach into the decoder at some arbitrary later point.
* fftools/ffmpeg_enc: stop configuring filter inputs from encoder flushAnton Khirnov2023-05-081-10/+0
| | | | | | | | | | | | | | | When no frames are ever seen by an encoder, encoder flush will do a last-ditch attempt to configure its source filtergraph in order to at least get the stream parameters. This involves extracting demuxer parameters from filtergraph source inputs, which is * a bad layering violation * probably unreachable, because decoders are flushed before encoders, which should call ifilter_send_eof(), which will also set these parameters; however due to complex control flow it is hard to be entirely sure this code can never be triggered Even if this code can actually be reached, it is probably better to return an error as the comment above it says.
* fftools/ffmpeg: eliminate need_output()Anton Khirnov2023-05-081-28/+10
| | | | Replace it by simply calling choose_output() earlier.
* fftools/ffmpeg: merge choose_output() and got_eagain()Anton Khirnov2023-05-081-22/+19
| | | | | | | These two functions are a part of a single logical action - determining which, if any, output stream needs to be processed next. Keeping them separate is a historical artifact that obscures what is actually being done.
* doc/filters/colorcorrect: fix bh option descriptionJonathan Gilbert2023-05-071-1/+1
|
* avdevice/lavfi: update documentationmetamuffin2023-05-071-3/+2
| | | | lavfi not only supports video but also audio by now.
* avfilter/f_ebur128: export results into read-only optionsPaul B Mahol2023-05-073-13/+49
|
* avfilter/af_replaygain: export results into read-only optionsPaul B Mahol2023-05-072-5/+42
|
* avfilter/af_asetnsamples: add timeline supportPaul B Mahol2023-05-071-2/+6
|
* avfilter/af_asetnsamples: add commands supportPaul B Mahol2023-05-071-1/+2
|
* fftools/ffmpeg: reduce -re to -readrate 1Anton Khirnov2023-05-073-10/+9
| | | | | They are exactly equivalent, so there is no point in maintaining a separate flag for -re.
* fftools/ffmpeg: use a non-zero default for -readrate_initial_burstAnton Khirnov2023-05-071-2/+2
| | | | Use it to replace a hack added in 6f206852289.
* fftools/ffmpeg: add ability to set a input burst time before readrate is ↵Davy Durham2023-05-075-1/+25
| | | | | | enforced Signed-off-by: Anton Khirnov <[email protected]>
* lavf/demux: export codec-level framerate in avformat_find_stream_info()Anton Khirnov2023-05-071-0/+1
|
* lavc/codec_par: add AVCodecParameters.framerateAnton Khirnov2023-05-074-1/+19
| | | | This corresponds to AVCodecContext.framerate.
* avfilter/adynamicequalizer_template: remove empty linesPaul B Mahol2023-05-061-2/+0
|
* avfilter/vsrc_gradients: fix several issues with !rgba outputPaul B Mahol2023-05-061-17/+20
|
* avcodec/adpcm: Fix integer overflow in intermediate in ADPCM_XMDMichael Niedermayer2023-05-061-2/+2
| | | | | | | | | | | | Fixes: runtime error: signed integer overflow: 2140143616 + 254665816 cannot be represented in type 'int' Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ADPCM_XMD_fuzzer-6690181676924928 As a sideeffect this simplifies the equation, the high bits are different after this but only the low 16bits are stored and used in later steps. Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/dpcm: fix undefined interger overflow in wadyMichael Niedermayer2023-05-061-1/+1
| | | | | | | | Fixes: signed integer overflow: -2147375930 + -133875 cannot be represented in type 'int' Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WADY_DPCM_fuzzer-6703727013920768 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/tiff: add a zero DNG_LINEARIZATION_TABLE checkMichael Niedermayer2023-05-061-1/+1
| | | | | | | | | Fixes: index 4294967295 out of bounds for type 'uint16_t [65536]' Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5950405086674944 Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-6666195176914944 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/tak: Check remaining bits in ff_tak_decode_frame_header()Michael Niedermayer2023-05-061-0/+3
| | | | | | | | Fixes: out of array access Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TAK_fuzzer-6682195323650048 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/sonic: Fix two undefined integer overflowsMichael Niedermayer2023-05-061-2/+2
| | | | | | | | | Fixes: signed integer overflow: 2147483372 - -148624 cannot be represented in type 'int' Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SONIC_fuzzer-5477177805373440 Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SONIC_fuzzer-6681622236233728 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/utils: the IFF_ILBM implementation assumes that there are a multiple ↵Michael Niedermayer2023-05-061-1/+1
| | | | | | | | | | | of 16 allocated Fixes: out of array access Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5124452659888128 Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-6362836707442688 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/flacdec: Fix signed integre overflowMichael Niedermayer2023-05-061-1/+1
| | | | | | | | Fixes: signed integer overflow: 3011809745540902265 + 6323452730883571725 cannot be represented in type 'long' Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLAC_fuzzer-6687553022722048 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/exr: Cleanup befor returnMichael Niedermayer2023-05-061-6/+12
| | | | | | | | Fixes: leaks Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-6703454090559488 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/pngdec: Do not pass AVFrame into global header decodeMichael Niedermayer2023-05-061-1/+6
| | | | | | | | | | | The global header should not contain a frame, and decoding it would result in leaks Fixes: memleak Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APNG_fuzzer-6603443149340672 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/pngdec: remove AVFrame argument from decode_iccp_chunk()Michael Niedermayer2023-05-061-2/+2
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/hls: fail on probing non hls/m3u8 file extensionsMichael Niedermayer2023-05-061-1/+8
| | | | | | | | | Its unexpected that a .avi or other "standard" file turns into a playlist. The goal of this patch is to avoid this unexpected behavior and possible privacy or security differences. Reviewed-by: Steven Liu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/pdvdec: Check previous frame before using itMichael Niedermayer2023-05-061-1/+1
| | | | | | | | | Fixes: load of null pointer of type 'uint8_t' (aka 'unsigned char') Fixes: 58256/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PDV_fuzzer-4776436325285888 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* doc/examples/transcode_aac: use av_samples_alloc_array_and_samples to ↵James Almer2023-05-051-15/+5
| | | | | | | | allocate the input samples buffer and pointers Fixes -Wuse-after-free warnings and simplifies code. Signed-off-by: James Almer <[email protected]>
* avcodec/libdav1d: support parsing multiple ITU-T T.35 entries in a pictureJames Almer2023-05-051-2/+11
| | | | | | This requires the newest libdav1d release. Signed-off-by: James Almer <[email protected]>
* avfilter/af_join: set output frame durationPaul B Mahol2023-05-051-0/+4
|
* avfilter/af_adelay: fix frame pts and set frame durationPaul B Mahol2023-05-051-16/+42
|