We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55eb92e commit 19f50c2Copy full SHA for 19f50c2
mp4parse_capi/src/lib.rs
@@ -1112,7 +1112,7 @@ fn mp4parse_avif_get_info_safe(context: &AvifContext) -> mp4parse::Result<Mp4par
1112
let primary_item_bit_depth =
1113
get_bit_depth(context.primary_item_bits_per_channel().unwrap_or(Ok(&[]))?);
1114
let alpha_item_bit_depth =
1115
- get_bit_depth(context.primary_item_bits_per_channel().unwrap_or(Ok(&[]))?);
+ get_bit_depth(context.alpha_item_bits_per_channel().unwrap_or(Ok(&[]))?);
1116
1117
if let Some(sequence) = &context.sequence {
1118
// Tracks must have track_id and samples
0 commit comments