Skip to content

Commit

Permalink
fix oversight on trying to make conditions easier to read, caused pad…
Browse files Browse the repository at this point in the history
…ding handling to break again
  • Loading branch information
Wumpf committed Oct 11, 2024
1 parent 4e201d1 commit 5740e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/store/re_video/src/decode/av1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ fn output_picture(
let mut data = Vec::with_capacity(num_packed_bytes_y + num_packed_bytes_uv * 2);
{
let plane = picture.plane(PlanarImageComponent::Y);
if packed_stride_y != actual_stride_y {
if packed_stride_y == actual_stride_y {
data.extend_from_slice(&plane[0..num_packed_bytes_y]);
} else {
re_tracing::profile_scope!("slow path, y-plane");
Expand Down

0 comments on commit 5740e2f

Please sign in to comment.