bink: Have function pointer prototype match implementation

libavcodec/binkdsp.c(156) : warning C4028: formal parameter 1 different from declaration
This commit is contained in:
Diego Biurrun 2015-03-13 00:38:57 +01:00
parent 4cf2ffb7c4
commit baab87c4f3
1 changed files with 3 additions and 1 deletions

View File

@ -29,11 +29,13 @@
#include <stdint.h> #include <stdint.h>
#include "config.h"
typedef struct BinkDSPContext { typedef struct BinkDSPContext {
void (*idct_put)(uint8_t *dest/*align 8*/, int line_size, int32_t *block/*align 16*/); 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 (*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 (*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; } BinkDSPContext;
void ff_binkdsp_init(BinkDSPContext *c); void ff_binkdsp_init(BinkDSPContext *c);