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.
  • Loading branch information
kkysen committed Dec 6, 2023
1 parent e05ca07 commit 9d5ebcd
Show file tree
Hide file tree
Showing 2 changed files with 302 additions and 135 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 9d5ebcd

Please sign in to comment.