[FFmpeg-cvslog] ituh263dec: Have function signature match across declaration and definition

Diego Biurrun git at videolan.org
Thu Mar 30 11:11:10 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Oct 31 23:06:54 2016 +0100| [99ddeddc7fc996c0c1e842112928490e78542bd5] | committer: Diego Biurrun

ituh263dec: Have function signature match across declaration and definition

libavcodec/ituh263dec.c(215) : warning C4028: formal parameter 1 different from declaration
libavcodec/ituh263dec.c(215) : warning C4028: formal parameter 2 different from declaration

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=99ddeddc7fc996c0c1e842112928490e78542bd5
---

 libavcodec/h263.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/libavcodec/h263.h b/libavcodec/h263.h
index 42c78f4..3e54204 100644
--- a/libavcodec/h263.h
+++ b/libavcodec/h263.h
@@ -21,7 +21,11 @@
 #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);
 
 



More information about the ffmpeg-cvslog mailing list