Skip to content

Commit

Permalink
Rav1dFrameContext_frame_thread::cbi: Don't clear before resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
randomPoison committed Feb 6, 2024
1 parent c0a3ee0 commit 47bf8ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4533,7 +4533,6 @@ pub(crate) unsafe fn rav1d_decode_frame_init(
.resize_with(num_sb128 as usize * 32 * 32, Default::default);

// TODO: fallible allocation
f.frame_thread.cbi.clear();
f.frame_thread
.cbi
.resize_with(num_sb128 as usize * 32 * 32, Default::default);
Expand Down

0 comments on commit 47bf8ed

Please sign in to comment.