diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-01 08:36:09 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-24 12:56:49 +0100 |
commit | 636631d9db82f5e86330ab42dacc8a106684b349 (patch) | |
tree | 86274afefd600d2ef634dc8d1252807ce9f16721 /libavutil/channel_layout.c | |
parent | 84f16bb5e68dc47eca4dc96b3391c58471cd7328 (diff) | |
download | ffmpeg-636631d9db82f5e86330ab42dacc8a106684b349.tar.gz |
Remove unnecessary libavutil/(avutil|common|internal).h inclusions
Some of these were made possible by moving several common macros to
libavutil/macros.h.
While just at it, also improve the other headers a bit.
Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/channel_layout.c')
-rw-r--r-- | libavutil/channel_layout.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavutil/channel_layout.c b/libavutil/channel_layout.c index ac773a9e63..b9507b1bff 100644 --- a/libavutil/channel_layout.c +++ b/libavutil/channel_layout.c @@ -24,12 +24,14 @@ */ #include <stdint.h> +#include <stdlib.h> +#include <string.h> -#include "avstring.h" -#include "avutil.h" #include "channel_layout.h" #include "bprint.h" #include "common.h" +#include "error.h" +#include "macros.h" struct channel_name { const char *name; |