avfilter/vf_lut3d: Fix standalone build of lut1d
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
afda5ee7b9
commit
0d80348748
@ -1111,6 +1111,8 @@ static const enum AVPixelFormat pix_fmts[] = {
|
|||||||
AV_PIX_FMT_NONE
|
AV_PIX_FMT_NONE
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if CONFIG_LUT3D_FILTER || CONFIG_HALDCLUT_FILTER
|
||||||
|
|
||||||
static int config_input(AVFilterLink *inlink)
|
static int config_input(AVFilterLink *inlink)
|
||||||
{
|
{
|
||||||
int depth, is16bit, isfloat, planar;
|
int depth, is16bit, isfloat, planar;
|
||||||
@ -1207,8 +1209,6 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar
|
|||||||
return config_input(ctx->inputs[0]);
|
return config_input(ctx->inputs[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_LUT3D_FILTER || CONFIG_HALDCLUT_FILTER
|
|
||||||
|
|
||||||
/* These options are shared between several filters;
|
/* These options are shared between several filters;
|
||||||
* &lut3d_haldclut_options[COMMON_OPTIONS_OFFSET] must always
|
* &lut3d_haldclut_options[COMMON_OPTIONS_OFFSET] must always
|
||||||
* point to the first of the COMMON_OPTIONS. */
|
* point to the first of the COMMON_OPTIONS. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user