Remove early return in scaler_ctx_scale to avoid performance

regression
This commit is contained in:
twinaphex 2014-11-01 09:42:45 +01:00
parent 8e0d1ed70f
commit 4c707e9e00

View File

@ -224,9 +224,6 @@ void scaler_ctx_gen_reset(struct scaler_ctx *ctx)
void scaler_ctx_scale(struct scaler_ctx *ctx,
void *output, const void *input)
{
if (!ctx)
return;
if (ctx->unscaled)
{
/* Just perform straight pixel conversion. */