[FFmpeg-cvslog] pixblockdsp: Have function pointer prototype match implementation
Diego Biurrun
git at videolan.org
Thu Mar 30 11:15:23 EEST 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Oct 31 23:12:20 2016 +0100| [c778eb15b89d875cb246b18f65b3b4321cb1e7d6] | committer: Diego Biurrun
pixblockdsp: Have function pointer prototype match implementation
libavcodec/pixblockdsp.c(58) : warning C4028: formal parameter 1 different from declaration
libavcodec/pixblockdsp.c(63) : warning C4028: formal parameter 1 different from declaration
libavcodec/pixblockdsp.c(66) : warning C4028: formal parameter 1 different from declaration
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c778eb15b89d875cb246b18f65b3b4321cb1e7d6
---
libavcodec/pixblockdsp.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavcodec/pixblockdsp.h b/libavcodec/pixblockdsp.h
index a9d5473..c7587cb 100644
--- a/libavcodec/pixblockdsp.h
+++ b/libavcodec/pixblockdsp.h
@@ -21,13 +21,15 @@
#include <stdint.h>
+#include "config.h"
+
#include "avcodec.h"
typedef struct PixblockDSPContext {
- void (*get_pixels)(int16_t *block /* align 16 */,
+ void (*get_pixels)(int16_t *restrict block /* align 16 */,
const uint8_t *pixels /* align 8 */,
ptrdiff_t stride);
- void (*diff_pixels)(int16_t *block /* align 16 */,
+ void (*diff_pixels)(int16_t *restrict block /* align 16 */,
const uint8_t *s1 /* align 8 */,
const uint8_t *s2 /* align 8 */,
ptrdiff_t stride);
More information about the ffmpeg-cvslog
mailing list