mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-04 10:26:02 -05:00
[-] Add forgotten type in err2str()
This commit is contained in:
parent
94e133e8dc
commit
1e3df5ba52
@ -51,7 +51,7 @@ struct metadata_map {
|
||||
static char errbuf[64];
|
||||
|
||||
static inline char *
|
||||
err2str(errnum)
|
||||
err2str(int errnum)
|
||||
{
|
||||
av_strerror(errnum, errbuf, sizeof(errbuf));
|
||||
return errbuf;
|
||||
|
@ -197,7 +197,7 @@ init_profile(struct encode_ctx *ctx, enum transcode_profile profile)
|
||||
/* -------------------------------- HELPERS -------------------------------- */
|
||||
|
||||
static inline char *
|
||||
err2str(errnum)
|
||||
err2str(int errnum)
|
||||
{
|
||||
av_strerror(errnum, errbuf, sizeof(errbuf));
|
||||
return errbuf;
|
||||
|
Loading…
x
Reference in New Issue
Block a user