Browse Source

vf_idet: remove some unnecessary statement and unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Matthieu Bouron Michael Niedermayer 13 years ago
parent
commit
f94edfe484
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      libavfilter/vf_idet.c

+ 3
- 4
libavfilter/vf_idet.c View File

@@ -49,7 +49,6 @@ typedef struct {
AVFilterBufferRef *cur;
AVFilterBufferRef *next;
AVFilterBufferRef *prev;
AVFilterBufferRef *out;
int (*filter_line)(const uint8_t *prev, const uint8_t *cur, const uint8_t *next, int w);

const AVPixFmtDescriptor *csp;
@@ -254,9 +253,9 @@ static av_cold void uninit(AVFilterContext *ctx)
idet->poststat[UNDETERMINED]
);

if (idet->prev) avfilter_unref_buffer(idet->prev);
if (idet->cur ) avfilter_unref_buffer(idet->cur );
if (idet->next) avfilter_unref_buffer(idet->next);
avfilter_unref_buffer(idet->prev);
avfilter_unref_buffer(idet->cur );
avfilter_unref_buffer(idet->next);
}

static int query_formats(AVFilterContext *ctx)


Loading…
Cancel
Save