You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavfi/tinterlace: remove unnecessary NULL check in start_frame()
This commit is contained in:
@@ -165,8 +165,7 @@ 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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user