mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavfi/yadif: remove redundant NULL checks in uninit
This commit is contained in:
parent
4ea7c17932
commit
8674597fe5
@ -300,9 +300,9 @@ static av_cold void uninit(AVFilterContext *ctx)
|
||||
{
|
||||
YADIFContext *yadif = ctx->priv;
|
||||
|
||||
if (yadif->prev) avfilter_unref_bufferp(&yadif->prev);
|
||||
if (yadif->cur ) avfilter_unref_bufferp(&yadif->cur );
|
||||
if (yadif->next) avfilter_unref_bufferp(&yadif->next);
|
||||
avfilter_unref_bufferp(&yadif->prev);
|
||||
avfilter_unref_bufferp(&yadif->cur );
|
||||
avfilter_unref_bufferp(&yadif->next);
|
||||
av_freep(&yadif->temp_line); yadif->temp_line_size = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user