Commit 13b3462b authored by Andreas Cadhalpun's avatar Andreas Cadhalpun

avfilter: add missing FF_API_AVFILTERPAD_PUBLIC guard

Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
parent 36e17d99
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment