Crate rsmpeg

Source

Modules§

avcodec
Everything related to libavcodec.
avfilter
Everything related to libavfilter.
avformat
Everything related to libavformat.
avutil
Everything related to libavutil.
error
Errors of the rsmpeg.
ffi
Raw and unsafe FFmpeg functions, structs and constants,
swresample
Everything related to libswresample.
swscale
Everything related to libswscale.

Traits§

UnsafeDerefMut
This is a convenient trait we cannot find in the rust std library. Accessing member of a ffi struct mutably is not always safe(consider directly changing the capacity of a Vec). But for some members, accessing them is a need. So UnsafeDerefMut is come to rescue. You can use foo.deref_mut().member = bar in a unsafe block if type of foo implements this trait.
OSZAR »