Skip to content

Commit

Permalink
fn parse_seq_hdr: Initialize and return Rav1dSequenceHeader direc…
Browse files Browse the repository at this point in the history
…tly (#604)
  • Loading branch information
kkysen authored Dec 8, 2023
2 parents fc2341e + a7deeaa commit 6d7b541
Show file tree
Hide file tree
Showing 2 changed files with 329 additions and 162 deletions.
4 changes: 2 additions & 2 deletions include/dav1d/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ pub struct Dav1dSequenceHeaderOperatingPoint {
pub display_model_param_present: c_int,
}

#[derive(Clone, Copy, PartialEq, Eq)]
#[derive(Clone, Copy, Default, PartialEq, Eq)]
#[repr(C)]
pub(crate) struct Rav1dSequenceHeaderOperatingPoint {
pub major_level: c_int,
Expand Down Expand Up @@ -588,7 +588,7 @@ pub struct Dav1dSequenceHeaderOperatingParameterInfo {
pub low_delay_mode: c_int,
}

#[derive(Clone, Copy, PartialEq, Eq)]
#[derive(Clone, Copy, Default, PartialEq, Eq)]
#[repr(C)]
pub(crate) struct Rav1dSequenceHeaderOperatingParameterInfo {
pub decoder_buffer_delay: c_int,
Expand Down
Loading

0 comments on commit 6d7b541

Please sign in to comment.