diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-24 22:28:16 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-27 15:14:56 +0300 |
commit | 66b691f99f77ebb59d5c192aab4eefec4d200be8 (patch) | |
tree | ed008b92aa702300b16757f05d90dec0b09aab79 /libavcodec/8bps.c | |
parent | e2c24e6a299b7e0e5387bdc50c11d16857b950a0 (diff) |
avcodec/internal: Move ff_get_buffer() to decode.h
Only used by decoders (encoders have ff_encode_alloc_frame()).
Also clean up the other headers a bit while removing now redundant
internal.h inclusions.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/8bps.c')
-rw-r--r-- | libavcodec/8bps.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/8bps.c b/libavcodec/8bps.c index 3bac9f64c4..c7dfeb81ee 100644 --- a/libavcodec/8bps.c +++ b/libavcodec/8bps.c @@ -30,16 +30,13 @@ * : RGB32 (RGB 32bpp, 4th plane is alpha) */ -#include <stdio.h> -#include <stdlib.h> #include <string.h> +#include "libavutil/bswap.h" #include "libavutil/internal.h" -#include "libavutil/intreadwrite.h" #include "avcodec.h" #include "codec_internal.h" #include "decode.h" -#include "internal.h" static const enum AVPixelFormat pixfmt_rgb24[] = { |