diff options
author | Frank Plowman <post@frankplowman.com> | 2024-12-30 17:57:52 +0000 |
---|---|---|
committer | Nuo Mi <nuomi2021@gmail.com> | 2025-01-05 20:25:29 +0800 |
commit | 539cea31830e71f1ce290c56ff2d639b209c2ac2 (patch) | |
tree | 988bef567971260bc9092d0b73f72761e2894f6a /doc/APIchanges | |
parent | f80af3657f162ba79b872bc27ae06d75560d58a9 (diff) | |
download | ffmpeg-539cea31830e71f1ce290c56ff2d639b209c2ac2.tar.gz |
lavc/vvc: Fix race condition for MVs cropped to subpic
When the current subpicture has sps_subpic_treated_as_pic_flag equal to
1, motion vectors are cropped such that they cannot point to other
subpictures. This was accounted for in the prediction logic, but not
in pred_get_y, which is used by the scheduling logic to determine which
parts of the reference pictures must have been reconstructed before
inter prediction of a subsequent frame may begin. Consequently, where a
motion vector pointed to a location significantly above the current
subpicture, there was the possibility of a race condition. Patch fixes
this by cropping the motion vector to the current subpicture in
pred_get_y.
Signed-off-by: Frank Plowman <post@frankplowman.com>
Diffstat (limited to 'doc/APIchanges')
0 files changed, 0 insertions, 0 deletions