From 6354957a95022864746180525680cca872ab0e0a Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 1 Nov 2016 00:30:33 +0100 Subject: 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 --- libavcodec/dnxhdenc.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/dnxhdenc.h b/libavcodec/dnxhdenc.h index d3df0e0001..c6755f7b59 100644 --- a/libavcodec/dnxhdenc.h +++ b/libavcodec/dnxhdenc.h @@ -26,6 +26,8 @@ #include +#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); -- cgit v1.2.3