|
@@ -133,8 +133,8 @@ int main(int argc, char *argv[]) |
|
|
TWIDTH, THEIGHT, PIX_FMT_RGB32, |
|
|
TWIDTH, THEIGHT, PIX_FMT_RGB32, |
|
|
SWS_BICUBIC, NULL, NULL, NULL); |
|
|
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); |
|
|
decorate(start); |
|
|
|
|
|
|
|
|