diff --git a/plugins/avplug/avdecode.c b/plugins/avplug/avdecode.c index dc45fb980..c5c9eb3dd 100644 --- a/plugins/avplug/avdecode.c +++ b/plugins/avplug/avdecode.c @@ -70,7 +70,7 @@ static qboolean AVDec_SetSize (void *vctx, int width, int height) if (width == ctx->width && height == ctx->height && ctx->pScaleCtx) return true; - if (av_image_alloc(rgb_data, rgb_linesize, width, height, AV_PIX_FMT_BGRA, 16) >= 0) + if (av_image_alloc(rgb_data, rgb_linesize, width, height, AV_PIX_FMT_BGRA, 1) >= 0) { //update the scale context as required //clear the old stuff out