diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-14 18:11:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-14 21:58:02 +0100 |
commit | fe6372bb614db1a8d73514d045c7c7b0b059289a (patch) | |
tree | 792ce5a4a90211f7ce1cc862266586dfca1ce93c /libswscale | |
parent | 705a2f70ee148fac26ce642b46850f30f32d3d90 (diff) | |
download | ffmpeg-fe6372bb614db1a8d73514d045c7c7b0b059289a.tar.gz |
swscale/vscale: Add fixme comment to "ugly" code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/vscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/vscale.c b/libswscale/vscale.c index f4b0b67ed0..ff1988f5ed 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)) { |