diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-08-08 10:41:30 +0200 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-08-12 00:14:13 +0200 |
commit | 13b3462b7a8570a65d27f4c398c189ed45361096 (patch) | |
tree | d14395368b1168de5cb56e0e353cb30f81701382 | |
parent | 36e17d994edcf4095f7805842d2e12228cbe784f (diff) | |
download | ffmpeg-13b3462b7a8570a65d27f4c398c189ed45361096.tar.gz |
avfilter: add missing FF_API_AVFILTERPAD_PUBLIC guard
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-rw-r--r-- | libavfilter/avfilter.c | 2 |
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; |