Browse Source

lavfi/kerndeint: remove unused pixel_step.

tags/n1.1
Clément Bœsch 12 years ago
parent
commit
caee85bbce
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavfilter/vf_kerndeint.c

+ 0
- 2
libavfilter/vf_kerndeint.c View File

@@ -42,7 +42,6 @@ typedef struct {
int vsub;
uint8_t *tmp_data [4]; ///< temporary plane data buffer
int tmp_bwidth[4]; ///< temporary plane byte width
int pixel_step;
} KerndeintContext;

#define OFFSET(x) offsetof(KerndeintContext, x)
@@ -101,7 +100,6 @@ static int config_props(AVFilterLink *inlink)
int ret;

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,
inlink->w, inlink->h, inlink->format, 1);


Loading…
Cancel
Save