Skip to main content

av_error_string

Function av_error_string 

Source
pub fn av_error_string(errnum: i32) -> String
Expand description

Convert an FFmpeg error code to a human-readable string.

§Arguments

  • errnum - The FFmpeg error code (negative value)

§Returns

A string describing the error.

§Safety

This function calls FFmpeg’s av_strerror which is thread-safe.