Function ffmpeg_encoder_decoder::utils::check_for_err

Function Documentation

void ffmpeg_encoder_decoder::utils::check_for_err(const std::string &msg, int errnum)

checks for error and throws runtime_error() with av error string

Parameters:
  • msg – error message (free form)

  • errnum – libav error number