Skip to content

Commit

Permalink
fn rav1d_picture_unref_internal: Fix a size_of to use the `Rav1d*…
Browse files Browse the repository at this point in the history
…` version now (#532)
  • Loading branch information
kkysen authored Oct 23, 2023
2 parents 4433020 + 9c49150 commit 0e59b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/picture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ pub(crate) unsafe fn rav1d_picture_unref_internal(p: &mut Rav1dPicture) {
memset(
p as *mut _ as *mut c_void,
0 as c_int,
::core::mem::size_of::<Dav1dPicture>(),
::core::mem::size_of::<Rav1dPicture>(),
);
rav1d_data_props_set_defaults(&mut p.m);
}
Expand Down

0 comments on commit 0e59b3c

Please sign in to comment.