Skip to content

Commit

Permalink
fn parse_frame_hdr: Initialize and return Rav1dFrameHeader direct…
Browse files Browse the repository at this point in the history
…ly (#629)
  • Loading branch information
kkysen authored Jan 4, 2024
2 parents b8022a3 + ce58be4 commit cd7bb79
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 120 deletions.
2 changes: 1 addition & 1 deletion include/dav1d/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1503,7 +1503,7 @@ pub struct Dav1dFrameHeaderOperatingPoint {
pub buffer_removal_time: c_int,
}

#[derive(Clone)]
#[derive(Clone, Copy, Default)]
#[repr(C)]
pub(crate) struct Rav1dFrameHeaderOperatingPoint {
pub buffer_removal_time: c_int,
Expand Down
Loading

0 comments on commit cd7bb79

Please sign in to comment.