[FFmpeg-cvslog] avfilter: add missing FF_API_AVFILTERPAD_PUBLIC guard
Andreas Cadhalpun
git at videolan.org
Wed Aug 12 00:15:15 CEST 2015
ffmpeg | branch: master | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Sat Aug 8 10:41:30 2015 +0200| [13b3462b7a8570a65d27f4c398c189ed45361096] | committer: Andreas Cadhalpun
avfilter: add missing FF_API_AVFILTERPAD_PUBLIC guard
Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=13b3462b7a8570a65d27f4c398c189ed45361096
---
libavfilter/avfilter.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index d43d813..700baa2 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;
More information about the ffmpeg-cvslog
mailing list