]> git.sesse.net Git - ffmpeg/commit
lavc/libkvazaar: fix incompatible pointer type.
authorJun Zhao <mypopydev@gmail.com>
Mon, 20 Aug 2018 06:39:32 +0000 (14:39 +0800)
committerJun Zhao <jun.zhao@intel.com>
Wed, 22 Aug 2018 11:06:12 +0000 (19:06 +0800)
commite2921578c09ebbaa86b1659bc6076049f573e349
tree1eb3ba670339b4825e0879854c62d4a1f3821b5a
parentc4608d225faf0c14b5decdfb73f14bc58ddcb380
lavc/libkvazaar: fix incompatible pointer type.

fix the waring: libavcodec/libkvazaar.c:210:27: warning: passing argument 3 of ‘av_image_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
                           frame->data, frame->linesize,
                           ^~~~~
In file included from libavcodec/libkvazaar.c:31:0:
./libavutil/imgutils.h:119:6: note: expected ‘const uint8_t ** {aka const unsigned char **}’ but argument is of type ‘uint8_t * const* {aka unsigned char * const*}’
 void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
libavcodec/libkvazaar.c