summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-08 10:41:30 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-12 00:14:13 +0200
commit13b3462b7a8570a65d27f4c398c189ed45361096 (patch)
treed14395368b1168de5cb56e0e353cb30f81701382 /libavfilter
parent36e17d994edcf4095f7805842d2e12228cbe784f (diff)
avfilter: add missing FF_API_AVFILTERPAD_PUBLIC guard
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avfilter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index d43d8136ba..700baa29cc 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -508,8 +508,10 @@ int avfilter_register(AVFilter *filter)
for(i=0; filter->inputs && filter->inputs[i].name; i++) {
const AVFilterPad *input = &filter->inputs[i];
+#if FF_API_AVFILTERPAD_PUBLIC
av_assert0( !input->filter_frame
|| (!input->start_frame && !input->end_frame));
+#endif
}
filter->next = NULL;