Paul B Mahol
0709680fc4
avfilter/vf_xfade: add horizontal and vertical wind transforms
2 years ago
Michael Niedermayer
43e5e2e423
avcodec/bonk: Avoid undefined integer overflow in predictor_calc_error()
...
Fixes: signed integer overflow: -159584 * 5105950 cannot be represented in type 'int'
Fixes: 55165/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BONK_fuzzer-5796023719297024
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 years ago
Michael Niedermayer
a76efafdb9
avformat/wavdec: Check that smv block fits in available space
...
Fixes: OOM
Fixes: 56271/clusterfuzz-testcase-minimized-ffmpeg_dem_WAV_fuzzer-5290810045497344
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 years ago
Michael Niedermayer
d09f50c0f5
avformat/hls: remove non standard hls extension
...
Suggested-by: Kacper Michajlow <kasper93@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 years ago
Michael Niedermayer
5b630743c6
avformat/hls: Better message from hls_probe()
...
Found-by: Kacper Michajlow <kasper93@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 years ago
Michael Niedermayer
a0cb5722fd
avformat/hls: Check mime_ok first
...
This should be a few nano seconds faster (not measureable)
But Collectively the whole humankind watching hls will safe a minute
Found-by: Leo Izen
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 years ago
Michael Niedermayer
19a74bc794
avformat/format: Remove redundant FFMIN() in ff_match_url_ext()
...
Found-by: Leo Izen
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 years ago
Paul B Mahol
e684967e74
avfilter/f_graphmonitor: output one frame more after eof
...
To easily debug eof issues.
2 years ago
Paul B Mahol
a6068c8700
avformat/fits*: format does not store timestamps
2 years ago
Paul B Mahol
02823703f4
avformat/fitsdec: stop creating pts, instead set packet duration
2 years ago
Paul B Mahol
d912ff19c5
avcodec/fitsenc: mark output packets as keyframes
2 years ago
Paul B Mahol
fd2ca3d4c5
avformat/fitsenc: reindent switch
2 years ago
Paul B Mahol
8a49341666
avformat/fitsdec: fix demuxer class category
2 years ago
Paul B Mahol
a28df1faa9
avformat/fitsdec: remove .raw_codec_id
...
This non-raw demuxer does not have parser.
2 years ago
Paul B Mahol
4d4aed2815
avcodec/fitsdec: fix decoder class category
2 years ago
Paul B Mahol
c4b3e882f8
avfilter/f_graphmonitor: make opacity runtime option
2 years ago
Paul B Mahol
08eb13c05c
avfilter/f_graphmonitor: add missing queue flag
2 years ago
Paul B Mahol
416c1e62f1
avfilter/f_graphmonitor: cache strlen() values
2 years ago
Paul B Mahol
f055345595
avfilter/f_graphmonitor: speed-up clear_image()
2 years ago
Kacper Michajłow
1aeefc4c06
lavfi/vf_libplacebo: allow linking to shared library with dllimport
...
Address of dll imported variables can't be used for constant
initialization in C language modes.
2 years ago
Paul B Mahol
65fe18040a
avfilter/f_graphmonitor: add flags option shortcuts
2 years ago
Paul B Mahol
b528e098a9
avfilter/f_graphmonitor: show also current timeline status of filter
2 years ago
Paul B Mahol
fcabfcbf6f
avcodec/wavpackenc: unbreak encoding 8bit pcm
...
Otherwise the reference decoder reports crc errors.
2 years ago
Paul B Mahol
ddc176d0ee
avcodec/elbg: fix integer overflows
...
Fixes #9977
2 years ago
Paul B Mahol
5fe6a0e5c7
avfilter/src_movie: switch to activate
2 years ago
Paul B Mahol
3546f70410
avfilter/src_movie: dr support
2 years ago
Paul B Mahol
d81b6cbd42
avcodec/gif_parser: fix possible wrong splitting of frames
...
And properly signal keyframes.
2 years ago
James Almer
b6066ceb8b
fate/checkasm: add h264chroma test
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Lynne
783270bfd1
checkasm: add h264chroma tests
...
Checks all variants of put_h264_chroma and avg_h264_chroma.
2 years ago
Lynne
a62a3930c2
swscale/ppc: remove hScale8To19_vsx
...
Fails checkasm on a Power9 system.
2 years ago
Rick Kern
247e977953
lavc/videotoolboxenc: warn when alpha quality not set
...
Added a warn log when alpha quality cannot be set, but continue encoding.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2 years ago
Rick Kern
902c949d30
lavc/videotoolboxenc: better compat_keys docs
...
Added more specific docs about when to use compat_keys, and how to
add new constants.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2 years ago
James Almer
efdc6e8200
avformat/matroskaenc: remove accidental variable shadowing
...
Should fix use of uninitialized value in a failure path.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Paul B Mahol
8980c1313b
avcodec/ccaption_dec: simplify init function
2 years ago
Paul B Mahol
ff72256235
avformat/gif: use last frame duration
2 years ago
James Almer
bd9d984c11
fate/demux: fix fate-cavs-demux
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
d55743c809
avfilter/af_surround: replace double constants with float variants
...
This is cleaner than the approach in d1ded7310a
.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
4d885271bb
avutil/mathematics: add missing constants
...
Including float variants for all of them.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
1b05d27346
avcodec/libdav1d: export decoder frame delay
...
As this is an AV_CODEC_CAP_OTHER_THREADS decoder, threading is handled by the
underlying library. In this case, the frame delay is calculated by libdav1d
based on the values from avctx->thread_count and the private max_frame_delay
option.
Export said delay reported by the library in AVCodecContext.delay
Reviewed-by: Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Paul B Mahol
613f716450
avfilter/vf_mix: improve speed even more by avoiding using filter private context
2 years ago
Rick Kern
c789a2324a
lavc/videotoolboxenc: better compat_keys documentation
...
Added documentation that describes when compat_keys should be used,
and why it exists.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2 years ago
xufuji456
5cd304298e
avcodec/videotoolboxenc: add low-latency encoding
...
When using low-latency mode, it eliminates frame reordering
and follows a one-in-one-out encoding mode
Signed-off-by: xufuji456 <839789740@qq.com>
Signed-off-by: Rick Kern <kernrj@gmail.com>
2 years ago
Zhao Zhili
47430a3cb1
avcodec/cavs_parser: fix finding the end of a frame
...
Use the next I/P/B or start code as the end of current frame.
Before the patch, extension start code, user data start code,
sequence end code and so on are treated as the start of next
frame.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2 years ago
Pierre-Anthony Lemieux
2838138975
fate/imf: remove redundant code
2 years ago
Pierre-Anthony Lemieux
dbe43bca25
fate/imf: fix memory leak
2 years ago
James Almer
a2a0a81184
avformat/yuvmpegenc: add support for rawvideo input
...
The demuxer exports rawvideo, so there's no reason for the muxer to only
work with wrapped_avframe.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Paul B Mahol
4c695bfa65
avfilter/f_graphmonitor: make mode option of type flags
2 years ago
Paul B Mahol
8cdbe3abb6
avfilter/f_graphmonitor: add commands support
2 years ago
Paul B Mahol
386de9319e
avfilter/f_graphmonitor: add nozeroeof mode
2 years ago
James Almer
4adb6da7a6
avutil/frame: remove one layer of indirection in av_frame_replace()
...
And don't force copy side data.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago