Crate rsmpeg

source ·

Modules§

  • Everything related to libavcodec.
  • Everything related to libavfilter.
  • Everything related to libavformat.
  • Everything related to libavutil.
  • Errors of the rsmpeg.
  • Raw and unsafe FFmpeg functions, structs and constants,
  • Everything related to libswresample.
  • Everything related to libswscale.

Traits§

  • 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.