ituh263dec: Have function signature match across declaration and definition
authorDiego Biurrun <diego@biurrun.de>
Mon, 31 Oct 2016 22:06:54 +0000 (23:06 +0100)
committerDiego Biurrun <diego@biurrun.de>
Thu, 3 Nov 2016 16:43:55 +0000 (17:43 +0100)
libavcodec/ituh263dec.c(215) : warning C4028: formal parameter 1 different from declaration
libavcodec/ituh263dec.c(215) : warning C4028: formal parameter 2 different from declaration

libavcodec/h263.h

index 42c78f4..3e54204 100644 (file)
 #define AVCODEC_H263_H
 
 #include <stdint.h>
+
+#include "config.h"
+
 #include "libavutil/rational.h"
+
 #include "get_bits.h"
 #include "mpegvideo.h"
 #include "h263data.h"
@@ -95,7 +99,7 @@ int av_const h263_get_picture_format(int width, int height);
 
 void ff_clean_h263_qscales(MpegEncContext *s);
 int ff_h263_resync(MpegEncContext *s);
-const uint8_t *ff_h263_find_resync_marker(const uint8_t *p, const uint8_t *end);
+const uint8_t *ff_h263_find_resync_marker(const uint8_t *restrict p, const uint8_t *restrict end);
 void ff_h263_encode_motion(MpegEncContext * s, int val, int f_code);