17 Commits

Author SHA1 Message Date
FreezyLemon
7a8643f2cc
Migrate crates to Rust edition 2021 (#24)
* Migrate ffmpeg-sys to Edition 2021

* Migrate ffmpeg to Edition 2021

* Remove now-redundant imports

* Reorder imports after edition migration
2024-04-06 21:31:36 -04:00
Polochon-street
22ad8b9598 Bump version to use ffmpeg 5 2022-02-11 17:58:42 +01:00
Zhiming Wang
73b66ea438
Fix clippy::redundant_field_names 2020-07-26 01:01:13 +08:00
Zhiming Wang
307f52c002
Reformat code with latest cargo fmt 2020-06-02 17:54:31 +08:00
Tadas Barzdžius
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
Tadas Barzdžius
5ac0527bdc *: use latest ffmpeg-sys using bindgen
* Update bindings to newest ffmpeg version for new ffmpeg-sys, which is mostly generated by bindgen
* Bring back removed feature flags
* Fix whitespace formating
* Remove prepended enum names to enum variants
* Remove unneeded allows
2017-07-08 17:00:27 +02:00
Peter Rebholz
c8fd7d411f device/output: fix infinite iterator loop 2015-12-11 23:14:20 -06:00
meh
7ad3654976 device: fix DeviceIter.size_hint 2015-10-25 22:32:26 +01:00
meh
1f80007e5e format: split input and output formats 2015-09-04 16:30:19 +02:00
meh
b839b5fe2f *: implement ExactSizeIterator where possible 2015-08-25 16:13:42 +02:00
meh
d56ac34413 *: use is_null instead of == ptr::null() 2015-06-08 15:48:28 +02:00
meh
ff1b880be6 *: make internal pointer handling safer 2015-06-04 03:03:19 +02:00
meh
5b80b10949 util/error: refactor error handling 2015-05-24 18:51:34 +02:00
meh
96563ed391 cargo: add features 2015-05-15 21:28:03 +02:00
meh
46a9746e00 device: take advantage of lifetime elision 2015-05-12 19:55:48 +02:00
meh
9a22b27733 device: fix style 2015-05-12 18:19:53 +02:00
meh
1150527c35 device: add handling 2015-05-12 03:58:34 +02:00