1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vf_idet: remove some unnecessary statement and unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Matthieu Bouron 2012-10-10 10:52:42 +02:00 committed by Michael Niedermayer
parent 03cc52a07d
commit f94edfe484

View File

@ -49,7 +49,6 @@ typedef struct {
AVFilterBufferRef *cur; AVFilterBufferRef *cur;
AVFilterBufferRef *next; AVFilterBufferRef *next;
AVFilterBufferRef *prev; AVFilterBufferRef *prev;
AVFilterBufferRef *out;
int (*filter_line)(const uint8_t *prev, const uint8_t *cur, const uint8_t *next, int w); int (*filter_line)(const uint8_t *prev, const uint8_t *cur, const uint8_t *next, int w);
const AVPixFmtDescriptor *csp; const AVPixFmtDescriptor *csp;
@ -254,9 +253,9 @@ static av_cold void uninit(AVFilterContext *ctx)
idet->poststat[UNDETERMINED] idet->poststat[UNDETERMINED]
); );
if (idet->prev) avfilter_unref_buffer(idet->prev); avfilter_unref_buffer(idet->prev);
if (idet->cur ) avfilter_unref_buffer(idet->cur ); avfilter_unref_buffer(idet->cur );
if (idet->next) avfilter_unref_buffer(idet->next); avfilter_unref_buffer(idet->next);
} }
static int query_formats(AVFilterContext *ctx) static int query_formats(AVFilterContext *ctx)