aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hdrdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-24 22:03:27 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-27 14:14:57 +0200
commitb9eaf77ed1b3b551f71f90b3fb2624379d0b29c3 (patch)
tree1a5e05091b18b5b7cf5d96225592389583e83d33 /libavcodec/hdrdec.c
parentb6a680989c2f2428a25bea322ffd2b546474df75 (diff)
downloadffmpeg-b9eaf77ed1b3b551f71f90b3fb2624379d0b29c3.tar.gz
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 <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/hdrdec.c')
-rw-r--r--libavcodec/hdrdec.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/hdrdec.c b/libavcodec/hdrdec.c
index 29e87057fa..9079e4a843 100644
--- a/libavcodec/hdrdec.c
+++ b/libavcodec/hdrdec.c
@@ -18,13 +18,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <stdlib.h>
-
-#include "libavutil/imgutils.h"
#include "avcodec.h"
-#include "internal.h"
#include "bytestream.h"
#include "codec_internal.h"
+#include "decode.h"
#include "thread.h"
#define MINELEN 8