summaryrefslogtreecommitdiffstats
path: root/libavcodec/dnxhdenc.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-11-01 00:30:33 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-03 17:43:55 +0100
commit6354957a95022864746180525680cca872ab0e0a (patch)
tree8ce744dca4c82066d09a532e5aebe8ffdb01a067 /libavcodec/dnxhdenc.h
parentc778eb15b89d875cb246b18f65b3b4321cb1e7d6 (diff)
downloadffmpeg-streaming-6354957a95022864746180525680cca872ab0e0a.zip
ffmpeg-streaming-6354957a95022864746180525680cca872ab0e0a.tar.gz
dnxhdenc: Have function pointer prototype match implementation
libavcodec/dnxhdenc.c(326) : warning C4028: formal parameter 1 different from declaration libavcodec/dnxhdenc.c(329) : warning C4028: formal parameter 1 different from declaration
Diffstat (limited to 'libavcodec/dnxhdenc.h')
-rw-r--r--libavcodec/dnxhdenc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/dnxhdenc.h b/libavcodec/dnxhdenc.h
index d3df0e0..c6755f7 100644
--- a/libavcodec/dnxhdenc.h
+++ b/libavcodec/dnxhdenc.h
@@ -26,6 +26,8 @@
#include <stdint.h>
+#include "config.h"
+
#include "mpegvideo.h"
#include "dnxhddata.h"
@@ -93,8 +95,8 @@ typedef struct DNXHDEncContext {
RCCMPEntry *mb_cmp;
RCEntry (*mb_rc)[8160];
- void (*get_pixels_8x4_sym)(int16_t * /* align 16 */,
- const uint8_t *, ptrdiff_t);
+ void (*get_pixels_8x4_sym)(int16_t *restrict /* align 16 */ block,
+ const uint8_t *pixels, ptrdiff_t line_size);
} DNXHDEncContext;
void ff_dnxhdenc_init_x86(DNXHDEncContext *ctx);
OpenPOWER on IntegriCloud