1
0
Fork 0
mirror of https://github.com/alfg/mp4-rust.git synced 2024-12-22 12:06:33 +00:00
mp4-rust/src
Nathan Fiedler 56cc260a5c
fix: minimize assertions in non-test code (#56)
Initial effort to reduce or eliminate the use of assertions in the
production code (i.e. not test code). See issue 43 for an example of how
this can cause an application (thread) to panic when reading an unusual
file. Not all of the changes were as simple as returning an Err, since some
functions did not return a Result. Also, the error type used (InvalidData)
is just a catch-all with a message, and in some cases a more refined error
type may be in order.

cargo test passes
2021-07-12 17:28:39 -07:00
..
mp4box fix: minimize assertions in non-test code (#56) 2021-07-12 17:28:39 -07:00
error.rs Fragmented tracks (#31) 2020-09-14 18:05:34 -07:00
lib.rs 0.7.1 2020-11-23 13:55:31 -08:00
reader.rs fix: minimize assertions in non-test code (#56) 2021-07-12 17:28:39 -07:00
track.rs fix: minimize assertions in non-test code (#56) 2021-07-12 17:28:39 -07:00
types.rs feat: add more audio object types (#52) 2021-04-04 11:56:02 -07:00
writer.rs fix: minimize assertions in non-test code (#56) 2021-07-12 17:28:39 -07:00