fatal error: libavutil/avconfig.h: No such file…

Edit an avconfig.H is placed in the libavutil directory to solve the error reporting problem; avconfig.H contents are as follows:

/* Generated by ffconf */
#ifndef AVUTIL_AVCONFIG_H
#define AVUTIL_AVCONFIG_H
#define AV_HAVE_BIGENDIAN 0
#define AV_HAVE_FAST_UNALIGNED 0
#endif /* AVUTIL_AVCONFIG_H */

Read More: