From b9eaf77ed1b3b551f71f90b3fb2624379d0b29c3 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 24 Aug 2022 22:03:27 +0200 Subject: avcodec/internal: Move ff_set_dimensions() to decode.h Decoder-only, as the dimensions are set by the user when encoding. Also fixup the other headers a bit while removing unnecessary internal.h inclusions. Signed-off-by: Andreas Rheinhardt --- libavcodec/pnm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/pnm.c') diff --git a/libavcodec/pnm.c b/libavcodec/pnm.c index aabc788684..77d24eeaf7 100644 --- a/libavcodec/pnm.c +++ b/libavcodec/pnm.c @@ -26,7 +26,7 @@ #include "libavutil/imgutils.h" #include "libavutil/avstring.h" #include "avcodec.h" -#include "internal.h" +#include "decode.h" #include "pnm.h" static inline int pnm_space(int c) -- cgit v1.2.3