diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-24 21:28:16 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-27 14:14:56 +0200 |
commit | 66b691f99f77ebb59d5c192aab4eefec4d200be8 (patch) | |
tree | ed008b92aa702300b16757f05d90dec0b09aab79 /libavcodec/smacker.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/smacker.c')
-rw-r--r-- | libavcodec/smacker.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index 5ef84a068f..2b1c4aebb5 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smacker.c @@ -28,8 +28,7 @@ * Based on http://wiki.multimedia.cx/index.php?title=Smacker */ -#include <stdio.h> -#include <stdlib.h> +#include <stddef.h> #include "libavutil/channel_layout.h" @@ -53,8 +52,6 @@ #include "codec_internal.h" #include "decode.h" #include "get_bits.h" -#include "internal.h" -#include "mathops.h" typedef struct SmackVContext { AVCodecContext *avctx; |