avfilter/vf_zscale: Use init instead of init_dict
The AVDictionary was unused. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -128,7 +128,7 @@ typedef struct ZScaleContext {
|
|||||||
enum AVChromaLocation in_chromal, out_chromal;
|
enum AVChromaLocation in_chromal, out_chromal;
|
||||||
} ZScaleContext;
|
} ZScaleContext;
|
||||||
|
|
||||||
static av_cold int init_dict(AVFilterContext *ctx, AVDictionary **opts)
|
static av_cold int init(AVFilterContext *ctx)
|
||||||
{
|
{
|
||||||
ZScaleContext *s = ctx->priv;
|
ZScaleContext *s = ctx->priv;
|
||||||
int ret;
|
int ret;
|
||||||
@@ -938,7 +938,7 @@ static const AVFilterPad avfilter_vf_zscale_outputs[] = {
|
|||||||
const AVFilter ff_vf_zscale = {
|
const AVFilter ff_vf_zscale = {
|
||||||
.name = "zscale",
|
.name = "zscale",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Apply resizing, colorspace and bit depth conversion."),
|
.description = NULL_IF_CONFIG_SMALL("Apply resizing, colorspace and bit depth conversion."),
|
||||||
.init_dict = init_dict,
|
.init = init,
|
||||||
.query_formats = query_formats,
|
.query_formats = query_formats,
|
||||||
.priv_size = sizeof(ZScaleContext),
|
.priv_size = sizeof(ZScaleContext),
|
||||||
.priv_class = &zscale_class,
|
.priv_class = &zscale_class,
|
||||||
|
Reference in New Issue
Block a user