summaryrefslogtreecommitdiffstats
path: root/libvo/vo_matrixview.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-05-04 22:12:55 +0200
committerUoti Urpala <uau@mplayer2.org>2011-05-06 18:33:16 +0300
commitb68f9fef32971095836ea6bbeb2f12af417120d2 (patch)
tree46288d0356764318d595a946d22ca31eaf6b0101 /libvo/vo_matrixview.c
parent40f6ab5064a628dc11b79b5e571dc9444efac093 (diff)
downloadmpv-b68f9fef32971095836ea6bbeb2f12af417120d2.tar.bz2
mpv-b68f9fef32971095836ea6bbeb2f12af417120d2.tar.xz
cleanup: shut up more warnings
Diffstat (limited to 'libvo/vo_matrixview.c')
-rw-r--r--libvo/vo_matrixview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_matrixview.c b/libvo/vo_matrixview.c
index 496d122a4c..28faeafb01 100644
--- a/libvo/vo_matrixview.c
+++ b/libvo/vo_matrixview.c
@@ -188,7 +188,7 @@ static void flip_page(void)
static int draw_slice(uint8_t *src[], int stride[], int w, int h, int x, int y)
{
- sws_scale(sws, src, stride, y, h, map_image, map_stride);
+ sws_scale(sws, (const uint8_t **)src, stride, y, h, map_image, map_stride);
return 0;
}