]> git.sesse.net Git - ffmpeg/commit
libvpx: Cast a pointer to const to squelch a warning
authorDiego Biurrun <diego@biurrun.de>
Wed, 24 Aug 2016 15:00:11 +0000 (17:00 +0200)
committerDiego Biurrun <diego@biurrun.de>
Fri, 26 Aug 2016 11:25:59 +0000 (13:25 +0200)
commit4ab496261b12e20ef293b7adca4fcaef1a67c538
tree5f250207b2c0d2889e6cecdf02b6514ff822e834
parent721d57e608dc4fd6c86f27c5ae76ef559d646220
libvpx: Cast a pointer to const to squelch a warning

libavcodec/libvpxdec.c:100:57: warning: passing argument 3 of 'av_image_copy' from incompatible pointer type
         av_image_copy(picture->data, picture->linesize, img->planes,
libavutil/imgutils.h:116:6: note: expected 'const uint8_t **' but argument is of type 'unsigned char **'
 void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],
libavcodec/libvpxdec.c