| 66 | } |
| 67 | |
| 68 | static std::string getAvError(int errnum) { |
| 69 | char buffer[AV_ERROR_MAX_STRING_SIZE]; |
| 70 | buffer[0] = '\0'; |
| 71 | av_make_error_string(buffer, AV_ERROR_MAX_STRING_SIZE, errnum); |
| 72 | return std::string(buffer); |
| 73 | } |
| 74 | |
| 75 | static void logAvError(const std::string& method, int errnum) { |
| 76 | #ifndef ENABLE_LOG_AVERROR_EOF |
no test coverage detected