mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-02 09:19:58 +02:00
lavfi/tinterlace: remove unnecessary NULL check in start_frame()
This commit is contained in:
parent
cf9f7e40cc
commit
18c6bd098b
@ -165,7 +165,6 @@ static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
|
|||||||
AVFilterContext *ctx = inlink->dst;
|
AVFilterContext *ctx = inlink->dst;
|
||||||
TInterlaceContext *tinterlace = ctx->priv;
|
TInterlaceContext *tinterlace = ctx->priv;
|
||||||
|
|
||||||
if (tinterlace->cur)
|
|
||||||
avfilter_unref_buffer(tinterlace->cur);
|
avfilter_unref_buffer(tinterlace->cur);
|
||||||
tinterlace->cur = tinterlace->next;
|
tinterlace->cur = tinterlace->next;
|
||||||
tinterlace->next = picref;
|
tinterlace->next = picref;
|
||||||
|
Loading…
Reference in New Issue
Block a user