diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-03-13 00:35:37 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-02 10:33:39 +0100 |
commit | 4cf2ffb7c45840b09bc49e34da88d4053dd442cb (patch) | |
tree | 90a8f5314cc15d676d13c637ff8a008033aa003b /libavcodec | |
parent | 39cea6570c11a49b64b2ec8d71e218db03b4c742 (diff) | |
download | ffmpeg-4cf2ffb7c45840b09bc49e34da88d4053dd442cb.tar.gz |
idct: Have function pointer prototype match implementation
libavcodec/idctdsp.c(175) : warning C4028: formal parameter 2 different from declaration
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/idctdsp.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libavcodec/idctdsp.h b/libavcodec/idctdsp.h index 51de9bc9ab..c6b7aeda5f 100644 --- a/libavcodec/idctdsp.h +++ b/libavcodec/idctdsp.h @@ -21,6 +21,8 @@ #include <stdint.h> +#include "config.h" + #include "avcodec.h" /** @@ -51,13 +53,13 @@ int ff_init_scantable_permutation_x86(uint8_t *idct_permutation, typedef struct IDCTDSPContext { /* pixel ops : interface with DCT */ void (*put_pixels_clamped)(const int16_t *block /* align 16 */, - uint8_t *pixels /* align 8 */, + uint8_t *restrict pixels /* align 8 */, ptrdiff_t line_size); void (*put_signed_pixels_clamped)(const int16_t *block /* align 16 */, - uint8_t *pixels /* align 8 */, + uint8_t *restrict pixels /* align 8 */, ptrdiff_t line_size); void (*add_pixels_clamped)(const int16_t *block /* align 16 */, - uint8_t *pixels /* align 8 */, + uint8_t *restrict pixels /* align 8 */, ptrdiff_t line_size); void (*idct)(int16_t *block /* align 16 */); |