Skip to content

Commit

Permalink
Fix compilation errors with some feature combinations
Browse files Browse the repository at this point in the history
  • Loading branch information
FreezyLemon committed Mar 31, 2024
1 parent f0292b0 commit 7b373e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ pub use diff::*;
pub use estimate::*;
#[cfg(feature = "parse")]
pub use parse::*;

#[cfg(any(feature = "diff", feature = "estimate"))]
pub use v_frame;

/// The max number of luma scaling points for grain synthesis
Expand Down
2 changes: 2 additions & 0 deletions src/util.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#[cfg(feature = "diff")]
use std::{borrow::Cow, mem::size_of};

#[cfg(feature = "diff")]
use v_frame::{
frame::Frame,
prelude::{CastFromPrimitive, ChromaSampling, Pixel},
Expand Down

0 comments on commit 7b373e6

Please sign in to comment.