mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
36e17d994e
commit
13b3462b7a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue