Commit Graph

11 Commits

Author SHA1 Message Date
07fe207ac2 codec: implement DerefMut for encoder::Audio and encoder::Subtitle 2020-08-08 00:38:09 +08:00
0bcd4550b8 *: format code with rustfmt and fix clippy suggestions
* Add avformat_close_input call to clean up AVFormantContext
* Format code with rustfmt
* Fix clippy lint double_parens
* Fix clippy lint deref_addrof
* Fix clippy lint identity_conversion
* Fix clippy lint match_ref_pats
* Fix clippy lint cast_lossless
* Fix clippy lint cmp_null
* Fix clippy lint clone_on_ref_ptr
* Fix clippy lint map_clone
* Fix clippy lint needless_borrow
* Fix clippy lint needless_pass_by_value
* Fix clippy lints for examples
* Fix clippy lint unused_io_amount
* Fix clippy lint new_without_default
* Ignore inline_always clippy lint
* Add vim temp files to .gitignore
2018-04-10 16:06:42 +02:00
8609619a5d codec: impl AsMut for all Context wrappers 2016-12-03 01:43:30 +01:00
4df56b516f codec/parameters: impl AsRef for all codec::Context wrappers 2016-12-03 01:43:23 +01:00
meh
66284eb045 codec: add magic traits to get codecs by name and id 2015-09-25 21:33:08 +02:00
meh
f2fb08e491 util/dictionary: refactor and make more sound 2015-09-08 18:26:29 +02:00
c867dd6259 codec: improve encoder state transitions
This commit improves the state transitions for the `codec::*` structs as
discussed in #7.
2015-08-29 21:19:14 +02:00
meh
ff1b880be6 *: make internal pointer handling safer 2015-06-04 03:03:19 +02:00
meh
6f07c48a04 codec/encoder/subtitle: implement DerefMut 2015-05-28 20:15:47 +02:00
meh
5b80b10949 util/error: refactor error handling 2015-05-24 18:51:34 +02:00
meh
757088f46c codec: refactor decoder and encoder 2015-05-16 17:28:25 +02:00