aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-23 07:41:54 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-29 22:02:05 +0200
commit5088c7c73304d25f791790cece20a291d25b6a18 (patch)
treecfcb3ef1fb80f6f4aa17c84a99dc1bad1661fb0b /libavutil
parent2dd8acbe800f6ea3b72ebe730f8ed95a5c3dd407 (diff)
downloadffmpeg-5088c7c73304d25f791790cece20a291d25b6a18.tar.gz
avutil/error: Include macros.h for MKTAG
Up until now, including error.h alone does not make the AVERROR_* defines usable, because they just expand to something involving MKTAG, but without the header providing MKTAG. So include macros.h, the header providing MKTAG. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/error.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/error.h b/libavutil/error.h
index 71df4da353..0d3269aa6d 100644
--- a/libavutil/error.h
+++ b/libavutil/error.h
@@ -27,6 +27,8 @@
#include <errno.h>
#include <stddef.h>
+#include "macros.h"
+
/**
* @addtogroup lavu_error
*