MCPcopy Create free account
hub / github.com/clangen/musikcube / getAvError

Function getAvError

src/plugins/ffmpegdecoder/FfmpegDecoder.cpp:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68static 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
75static void logAvError(const std::string& method, int errnum) {
76#ifndef ENABLE_LOG_AVERROR_EOF

Callers 1

logAvErrorFunction · 0.70

Calls 1

av_make_error_stringFunction · 0.85

Tested by

no test coverage detected