avutil/log: Don't include avutil.h

It has been included since af5f434f8c
for deprecation reasons, but removing it has been forgotten after
it had served is purpose. So remove it.

For convenience, include version.h instead as LIBAVUTIL_VERSION_INT
is supposed to be used when creating AVClasses.

Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2021-07-23 10:50:16 +02:00
parent 12a540352b
commit 321a3c244d
14 changed files with 30 additions and 1 deletions

View File

@ -26,6 +26,7 @@
#include "libavutil/bprint.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "config.h"
#include "jni.h"

View File

@ -23,6 +23,7 @@
#include <wels/codec_api.h>
#include <wels/codec_ver.h>
#include "libavutil/error.h"
#include "libavutil/log.h"
#include "libopenh264.h"

View File

@ -23,6 +23,7 @@
#define AVFORMAT_AVC_H
#include <stdint.h>
#include "libavutil/rational.h"
#include "avio.h"
typedef struct NALU {

View File

@ -20,6 +20,7 @@
#include <string.h>
#include "libavutil/avstring.h"
#include "libavutil/avutil.h"
#include "libavutil/base64.h"
#include "url.h"

View File

@ -18,8 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <string.h>
#include "ip.h"
#include "libavutil/avstring.h"
#include "libavutil/mem.h"
static int compare_addr(const struct sockaddr_storage *a,
const struct sockaddr_storage *b)

View File

@ -21,6 +21,7 @@
#define AVUTIL_CUDA_CHECK_H
#include "compat/cuda/dynlink_loader.h"
#include "error.h"
typedef CUresult CUDAAPI cuda_check_GetErrorName(CUresult error, const char** pstr);
typedef CUresult CUDAAPI cuda_check_GetErrorString(CUresult error, const char** pstr);

View File

@ -22,8 +22,8 @@
#define AVUTIL_LOG_H
#include <stdarg.h>
#include "avutil.h"
#include "attributes.h"
#include "version.h"
typedef enum {
AV_CLASS_CATEGORY_NA = 0,

View File

@ -19,8 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <stddef.h>
#include <string.h>
#include "libavutil/camellia.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
int main(int argc, char *argv[])
{

View File

@ -19,8 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <stddef.h>
#include <string.h>
#include "libavutil/cast5.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
int main(int argc, char** argv)
{

View File

@ -20,10 +20,12 @@
*/
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/twofish.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[])
{

View File

@ -31,7 +31,11 @@
#if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 1
#include <stdlib.h>
#include "error.h"
#include "log.h"
#include "macros.h"
#define ASSERT_PTHREAD_ABORT(func, ret) do { \
char errbuf[AV_ERROR_MAX_STRING_SIZE] = ""; \

View File

@ -27,6 +27,7 @@
*/
#include <stdio.h>
#include "common.h"
#include "timecode.h"
#include "log.h"
#include "error.h"

View File

@ -48,6 +48,7 @@
#include <mach/mach_time.h>
#endif
#include "common.h"
#include "log.h"
#if ARCH_AARCH64

View File

@ -19,12 +19,18 @@
*/
#include "config.h"
#include <errno.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if HAVE_UNISTD_H
#include <unistd.h> /* getopt */
#endif
#include "libavutil/log.h"
#include "libavutil/bprint.h"
#include "libavutil/mem.h"
#if !HAVE_GETOPT
#include "compat/getopt.c"