From e145afb4b00f0ad8fd4d6edd6fd1b0b121c6c226 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 8 Jul 2012 03:46:59 +0200 Subject: [PATCH] vf_tinterlace: use av_assert Signed-off-by: Michael Niedermayer --- libavfilter/vf_tinterlace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index 28bedf5be1..402eecacfb 100644 --- a/libavfilter/vf_tinterlace.c +++ b/libavfilter/vf_tinterlace.c @@ -26,6 +26,7 @@ */ #include "libavutil/imgutils.h" +#include "libavutil/avassert.h" #include "avfilter.h" #include "internal.h" @@ -338,7 +339,7 @@ static int poll_frame(AVFilterLink *outlink) return ret; val = ff_poll_frame(inlink); } - assert(tinterlace->next); + av_assert0(tinterlace->next); return val; }