mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/vvc/inter: Don't return void
Returning a void is not allowed by the spec. Just return instead. Reviewed-by: Nuo Mi <nuomi2021@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
417957ec5e
commit
a0ff31e740
@ -146,18 +146,21 @@ static void emulated_edge(const VVCLocalContext *lc, uint8_t *dst,
|
||||
subpic_get_rect(&subpic, src_frame, subpic_idx, is_chroma);
|
||||
|
||||
if (!wrap_enabled || (dmvr_left >= 0 && dmvr_right <= pic_width)) {
|
||||
return emulated_edge_no_wrap(lc, dst, src, src_stride,
|
||||
emulated_edge_no_wrap(lc, dst, src, src_stride,
|
||||
x_off, y_off, block_w, block_h, extra_before, extra_after, &subpic, &sb, dmvr_clip);
|
||||
return;
|
||||
}
|
||||
if (dmvr_right <= 0) {
|
||||
sb_wrap(&sb, wrap);
|
||||
return emulated_edge_no_wrap(lc, dst, src, src_stride,
|
||||
emulated_edge_no_wrap(lc, dst, src, src_stride,
|
||||
x_off + wrap, y_off, block_w, block_h, extra_before, extra_after, &subpic, &sb, dmvr_clip);
|
||||
return;
|
||||
}
|
||||
if (dmvr_left >= pic_width) {
|
||||
sb_wrap(&sb, -wrap);
|
||||
return emulated_edge_no_wrap(lc, dst, src, src_stride,
|
||||
emulated_edge_no_wrap(lc, dst, src, src_stride,
|
||||
x_off - wrap, y_off, block_w, block_h, extra_before, extra_after, &subpic, &sb, dmvr_clip);
|
||||
return;
|
||||
}
|
||||
|
||||
block_w += extra;
|
||||
|
Loading…
Reference in New Issue
Block a user