[FFmpeg-cvslog] dnxhdenc: Have function pointer prototype match implementation

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


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Nov  1 00:30:33 2016 +0100| [6354957a95022864746180525680cca872ab0e0a] | committer: Diego Biurrun

dnxhdenc: Have function pointer prototype match implementation

libavcodec/dnxhdenc.c(326) : warning C4028: formal parameter 1 different from declaration
libavcodec/dnxhdenc.c(329) : warning C4028: formal parameter 1 different from declaration

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

 libavcodec/dnxhdenc.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavcodec/dnxhdenc.h b/libavcodec/dnxhdenc.h
index d3df0e0..c6755f7 100644
--- a/libavcodec/dnxhdenc.h
+++ b/libavcodec/dnxhdenc.h
@@ -26,6 +26,8 @@
 
 #include <stdint.h>
 
+#include "config.h"
+
 #include "mpegvideo.h"
 #include "dnxhddata.h"
 
@@ -93,8 +95,8 @@ typedef struct DNXHDEncContext {
     RCCMPEntry *mb_cmp;
     RCEntry   (*mb_rc)[8160];
 
-    void (*get_pixels_8x4_sym)(int16_t * /* align 16 */,
-                               const uint8_t *, ptrdiff_t);
+    void (*get_pixels_8x4_sym)(int16_t *restrict /* align 16 */ block,
+                               const uint8_t *pixels, ptrdiff_t line_size);
 } DNXHDEncContext;
 
 void ff_dnxhdenc_init_x86(DNXHDEncContext *ctx);



More information about the ffmpeg-cvslog mailing list