Commit caee85bb authored by Clément Bœsch's avatar Clément Bœsch

lavfi/kerndeint: remove unused pixel_step.

parent f6659e5c
...@@ -42,7 +42,6 @@ typedef struct { ...@@ -42,7 +42,6 @@ typedef struct {
int vsub; int vsub;
uint8_t *tmp_data [4]; ///< temporary plane data buffer uint8_t *tmp_data [4]; ///< temporary plane data buffer
int tmp_bwidth[4]; ///< temporary plane byte width int tmp_bwidth[4]; ///< temporary plane byte width
int pixel_step;
} KerndeintContext; } KerndeintContext;
#define OFFSET(x) offsetof(KerndeintContext, x) #define OFFSET(x) offsetof(KerndeintContext, x)
...@@ -101,7 +100,6 @@ static int config_props(AVFilterLink *inlink) ...@@ -101,7 +100,6 @@ static int config_props(AVFilterLink *inlink)
int ret; int ret;
kerndeint->vsub = desc->log2_chroma_h; kerndeint->vsub = desc->log2_chroma_h;
kerndeint->pixel_step = av_get_bits_per_pixel(desc) >> 3;
ret = av_image_alloc(kerndeint->tmp_data, kerndeint->tmp_bwidth, ret = av_image_alloc(kerndeint->tmp_data, kerndeint->tmp_bwidth,
inlink->w, inlink->h, inlink->format, 1); inlink->w, inlink->h, inlink->format, 1);
......
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