Browse Source

lavfi/tinterlace: drop redundant NULL checks in uninit()

tags/n1.1
Stefano Sabatini 12 years ago
parent
commit
da9a45b681
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavfilter/vf_tinterlace.c

+ 2
- 2
libavfilter/vf_tinterlace.c View File

@@ -106,8 +106,8 @@ static av_cold void uninit(AVFilterContext *ctx)
{
TInterlaceContext *tinterlace = ctx->priv;

if (tinterlace->cur ) avfilter_unref_bufferp(&tinterlace->cur );
if (tinterlace->next) avfilter_unref_bufferp(&tinterlace->next);
avfilter_unref_bufferp(&tinterlace->cur );
avfilter_unref_bufferp(&tinterlace->next);

av_opt_free(tinterlace);
av_freep(&tinterlace->black_data[0]);


Loading…
Cancel
Save