avfilter: add missing FF_API_AVFILTERPAD_PUBLIC guard

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
Andreas Cadhalpun 2015-08-08 10:41:30 +02:00
parent 36e17d994e
commit 13b3462b7a

View File

@ -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;