summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhdenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-07-08 15:29:57 +0200
committerDiego Biurrun <diego@biurrun.de>2011-07-12 19:24:53 +0200
commit828e20733726e8e4fcf70a19d51652948d9436b6 (patch)
tree1547d0ff4f561579cb7882f3e7bb4cecd91a483e /libavcodec/dnxhdenc.c
parentc90a2538a0bb4937cdecb852fadc3f98899624a9 (diff)
dnxhdenc: Replace a forward declaration by the proper #include.
Diffstat (limited to 'libavcodec/dnxhdenc.c')
-rw-r--r--libavcodec/dnxhdenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index 78da1c15e2..85832a1dc3 100644
--- a/libavcodec/dnxhdenc.c
+++ b/libavcodec/dnxhdenc.c
@@ -28,6 +28,7 @@
#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
+#include "mpegvideo_common.h"
#include "dnxhdenc.h"
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
@@ -38,8 +39,6 @@ static const AVOption options[]={
};
static const AVClass class = { "dnxhd", av_default_item_name, options, LIBAVUTIL_VERSION_INT };
-int dct_quantize_c(MpegEncContext *s, DCTELEM *block, int n, int qscale, int *overflow);
-
#define LAMBDA_FRAC_BITS 10
static av_always_inline void dnxhd_get_pixels_8x4(DCTELEM *restrict block, const uint8_t *pixels, int line_size)