summaryrefslogtreecommitdiff
path: root/libavcodec/nuv.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/nuv.c
parentb6a680989c2f2428a25bea322ffd2b546474df75 (diff)
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/nuv.c')
-rw-r--r--libavcodec/nuv.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/nuv.c b/libavcodec/nuv.c
index c404bd8cf0..8dbfa7f726 100644
--- a/libavcodec/nuv.c
+++ b/libavcodec/nuv.c
@@ -19,11 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <stdio.h>
-#include <stdlib.h>
+#include <stddef.h>
#include <limits.h>
-#include "libavutil/bswap.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/lzo.h"
@@ -31,8 +29,6 @@
#include "avcodec.h"
#include "codec_internal.h"
#include "decode.h"
-#include "idctdsp.h"
-#include "internal.h"
#include "rtjpeg.h"
typedef struct NuvContext {