aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-08 03:46:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-08 03:47:38 +0200
commite145afb4b00f0ad8fd4d6edd6fd1b0b121c6c226 (patch)
tree20fe647f4588e7419dc33e1af4369f5d76acbc38 /libavfilter
parentabb0a9982f98e67662c72c90b879caa3b53fd3a8 (diff)
downloadffmpeg-e145afb4b00f0ad8fd4d6edd6fd1b0b121c6c226.tar.gz
vf_tinterlace: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_tinterlace.c3
1 files changed, 2 insertions, 1 deletions
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;
}