MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / print_error

Function print_error

src/server/ffplay/stream_handler.cpp:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void print_error(const char *filename, int err) {
60 char errbuf[128];
61 const char *errbuf_ptr = errbuf;
62
63 if (av_strerror(err, errbuf, sizeof(errbuf)) < 0) {
64 errbuf_ptr = strerror(AVUNERROR(err));
65 }
66
67 av_log(NULL, AV_LOG_ERROR, "%s: %s\n", filename, errbuf_ptr);
68}
69
70
71int check_stream_specifier(AVFormatContext *s, AVStream *st, const char *spec) {

Callers 1

read_threadMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected