Commit 4cf2ffb7 authored by Diego Biurrun's avatar Diego Biurrun

idct: Have function pointer prototype match implementation

libavcodec/idctdsp.c(175) : warning C4028: formal parameter 2 different from declaration
parent 39cea657
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
#include <stdint.h> #include <stdint.h>
#include "config.h"
#include "avcodec.h" #include "avcodec.h"
/** /**
...@@ -51,13 +53,13 @@ int ff_init_scantable_permutation_x86(uint8_t *idct_permutation, ...@@ -51,13 +53,13 @@ int ff_init_scantable_permutation_x86(uint8_t *idct_permutation,
typedef struct IDCTDSPContext { typedef struct IDCTDSPContext {
/* pixel ops : interface with DCT */ /* pixel ops : interface with DCT */
void (*put_pixels_clamped)(const int16_t *block /* align 16 */, 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); ptrdiff_t line_size);
void (*put_signed_pixels_clamped)(const int16_t *block /* align 16 */, 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); ptrdiff_t line_size);
void (*add_pixels_clamped)(const int16_t *block /* align 16 */, 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); ptrdiff_t line_size);
void (*idct)(int16_t *block /* align 16 */); void (*idct)(int16_t *block /* align 16 */);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment