[-] Add forgotten type in err2str()

This commit is contained in:
ejurgensen 2016-10-11 21:32:16 +02:00
parent 94e133e8dc
commit 1e3df5ba52
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;