mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/tinterlace: remove unnecessary NULL check in start_frame()
This commit is contained in:
parent
cf9f7e40cc
commit
18c6bd098b
|
@ -165,8 +165,7 @@ static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
|
|||
AVFilterContext *ctx = inlink->dst;
|
||||
TInterlaceContext *tinterlace = ctx->priv;
|
||||
|
||||
if (tinterlace->cur)
|
||||
avfilter_unref_buffer(tinterlace->cur);
|
||||
avfilter_unref_buffer(tinterlace->cur);
|
||||
tinterlace->cur = tinterlace->next;
|
||||
tinterlace->next = picref;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue