Closed xnorpx closed 4 weeks ago
attempt to fix #52
Sorry for delay, on vacation right now, will look at this next week.
Could you add one or more unit tests which check these asserts? You can use #[should_panic]
for that.
I will come back and a test for this once time allows.
Ok added some tests for asserts, been running the yuvslice with y4m crate quite heavily for last couple of weeks so seems to work well.
Thanks!
I am no expert on this, but at least the encoded stream seems fine reading from a y4m file using the slice.