summaryrefslogtreecommitdiffstats
path: root/libvo/vo_matrixview.c
diff options
context:
space:
mode:
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;
}