From fe6372bb614db1a8d73514d045c7c7b0b059289a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 14 Jan 2016 18:11:22 +0100 Subject: swscale/vscale: Add fixme comment to "ugly" code Signed-off-by: Michael Niedermayer --- libswscale/vscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswscale/vscale.c') diff --git a/libswscale/vscale.c b/libswscale/vscale.c index f4b0b67..ff1988f 100644 --- a/libswscale/vscale.c +++ b/libswscale/vscale.c @@ -239,7 +239,7 @@ void ff_init_vscale_pfn(SwsContext *c, { VScalerContext *lumCtx = NULL; VScalerContext *chrCtx = NULL; - int idx = c->numDesc - (c->is_internal_gamma ? 2 : 1); + int idx = c->numDesc - (c->is_internal_gamma ? 2 : 1); //FIXME avoid hardcoding indexes if (isPlanarYUV(c->dstFormat) || (isGray(c->dstFormat) && !isALPHA(c->dstFormat))) { if (!isGray(c->dstFormat)) { -- cgit v1.1