diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-03-13 00:38:57 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-02 10:33:39 +0100 |
commit | baab87c4f30e75ea309294b06adcd01ce678bdc5 (patch) | |
tree | ae2f9d9461bcf4c200f8e1d1f7e6cdca5994e9b0 /libavcodec | |
parent | 4cf2ffb7c45840b09bc49e34da88d4053dd442cb (diff) | |
download | ffmpeg-streaming-baab87c4f30e75ea309294b06adcd01ce678bdc5.zip ffmpeg-streaming-baab87c4f30e75ea309294b06adcd01ce678bdc5.tar.gz |
bink: Have function pointer prototype match implementation
libavcodec/binkdsp.c(156) : warning C4028: formal parameter 1 different from declaration
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/binkdsp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/binkdsp.h b/libavcodec/binkdsp.h index 418afb9..9524fe2 100644 --- a/libavcodec/binkdsp.h +++ b/libavcodec/binkdsp.h @@ -29,11 +29,13 @@ #include <stdint.h> +#include "config.h" + typedef struct BinkDSPContext { void (*idct_put)(uint8_t *dest/*align 8*/, int line_size, int32_t *block/*align 16*/); void (*idct_add)(uint8_t *dest/*align 8*/, int line_size, int32_t *block/*align 16*/); void (*scale_block)(const uint8_t src[64]/*align 8*/, uint8_t *dst/*align 8*/, int linesize); - void (*add_pixels8)(uint8_t *pixels, int16_t *block, int line_size); + void (*add_pixels8)(uint8_t *restrict pixels, int16_t *block, int line_size); } BinkDSPContext; void ff_binkdsp_init(BinkDSPContext *c); |