diff --git a/examples/storyboard.c b/examples/storyboard.c index 03f0785..ad4a688 100644 --- a/examples/storyboard.c +++ b/examples/storyboard.c @@ -133,8 +133,8 @@ int main(int argc, char *argv[]) TWIDTH, THEIGHT, PIX_FMT_RGB32, SWS_BICUBIC, NULL, NULL, NULL); - sws_scale(sws, frame->data, frame->linesize, 0, ctx->height, - &start, &pitch); + sws_scale(sws, (uint8_t const **)frame->data, frame->linesize, 0, + ctx->height, &start, &pitch); decorate(start);