Skip to content

Commit

Permalink
Trying to safety-ify more functions...
Browse files Browse the repository at this point in the history
...but I might have made a mistake somewhere.  Get a proper test suite
to compare against minimp3 proper.
  • Loading branch information
icefoxen committed Sep 6, 2018
1 parent 4345245 commit a921351
Show file tree
Hide file tree
Showing 2 changed files with 180 additions and 171 deletions.
4 changes: 2 additions & 2 deletions src/bin/minimp3_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ pub unsafe fn mp3dec_iterate_buf(
let i: i32 = mp3d_find_frame(
buf_slice,
buf_size as (i32),
&mut free_format_bytes as (*mut i32),
&mut frame_size as (*mut i32),
&mut free_format_bytes,
&mut frame_size,
);
buf = buf.offset(i as (isize));
buf_size = buf_size.wrapping_sub(i as (usize));
Expand Down
Loading

0 comments on commit a921351

Please sign in to comment.