Commit fe6372bb authored by Michael Niedermayer's avatar Michael Niedermayer

swscale/vscale: Add fixme comment to "ugly" code

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 705a2f70
...@@ -239,7 +239,7 @@ void ff_init_vscale_pfn(SwsContext *c, ...@@ -239,7 +239,7 @@ void ff_init_vscale_pfn(SwsContext *c,
{ {
VScalerContext *lumCtx = NULL; VScalerContext *lumCtx = NULL;
VScalerContext *chrCtx = 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 (isPlanarYUV(c->dstFormat) || (isGray(c->dstFormat) && !isALPHA(c->dstFormat))) {
if (!isGray(c->dstFormat)) { if (!isGray(c->dstFormat)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment