aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp3_parser.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2025-08-11 09:58:58 +0200
committerNiklas Haas <ffmpeg@haasn.dev>2025-08-11 21:21:55 +0000
commitf610b55525613b032b79f9c16607364ca07a611e (patch)
treedda89496707aeb2146ca362fe2b40dfc7951733c /libavcodec/vp3_parser.c
parent13139d6d83e8bdcf8a2c81af14ed2c3e30b5e1c1 (diff)
downloadffmpeg-f610b55525613b032b79f9c16607364ca07a611e.tar.gz
avfilter/vf_libplacebo: fix possible segfault when frame mixing
pl_frame_mix_current() will return NULL if all frames are in the future, but when libplacebo is using a frame mixer with a radius greater than 1, future frames are expected to already be partially renderered. Instead, use pl_frame_mix_nearest(), which is guaranteed to give us a valid frame for any nonempty frame mix. Fixes: 3091bca3edb339a4d2ec8c64e52fa7e67a7d5005
Diffstat (limited to 'libavcodec/vp3_parser.c')
0 files changed, 0 insertions, 0 deletions