Skip to content

Commit

Permalink
fn output_image: Remove redundant return.
Browse files Browse the repository at this point in the history
  • Loading branch information
kkysen committed Oct 30, 2023
1 parent ecb77c5 commit 1bb66bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ unsafe fn output_image(c: &mut Rav1dContext, out: &mut Rav1dPicture) -> Rav1dRes
if !c.all_layers && c.max_spatial_id && !(c.out.p.data[0]).is_null() {
rav1d_thread_picture_move_ref(r#in, &mut c.out);
}
return res;
res
}

unsafe extern "C" fn output_picture_ready(c: *mut Rav1dContext, drain: c_int) -> c_int {
Expand Down

0 comments on commit 1bb66bd

Please sign in to comment.