mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-09 20:58:10 -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 char errbuf[64];
|
||||||
|
|
||||||
static inline char *
|
static inline char *
|
||||||
err2str(errnum)
|
err2str(int errnum)
|
||||||
{
|
{
|
||||||
av_strerror(errnum, errbuf, sizeof(errbuf));
|
av_strerror(errnum, errbuf, sizeof(errbuf));
|
||||||
return errbuf;
|
return errbuf;
|
||||||
|
@ -197,7 +197,7 @@ init_profile(struct encode_ctx *ctx, enum transcode_profile profile)
|
|||||||
/* -------------------------------- HELPERS -------------------------------- */
|
/* -------------------------------- HELPERS -------------------------------- */
|
||||||
|
|
||||||
static inline char *
|
static inline char *
|
||||||
err2str(errnum)
|
err2str(int errnum)
|
||||||
{
|
{
|
||||||
av_strerror(errnum, errbuf, sizeof(errbuf));
|
av_strerror(errnum, errbuf, sizeof(errbuf));
|
||||||
return errbuf;
|
return errbuf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user