From 42c7c61ab25809620b8c8809b3da73e25f5bbaaf Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 25 Feb 2013 12:12:36 +0100 Subject: avfiltergraph: replace AVFilterGraph.filter_count with nb_filters This is more consistent with the naming in the rest of Libav. --- libavfilter/avfiltergraph.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libavfilter/avfiltergraph.h') diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h index 62308982d0..9859389390 100644 --- a/libavfilter/avfiltergraph.h +++ b/libavfilter/avfiltergraph.h @@ -27,11 +27,20 @@ typedef struct AVFilterGraph { const AVClass *av_class; +#if FF_API_FOO_COUNT + attribute_deprecated unsigned filter_count; +#endif AVFilterContext **filters; +#if !FF_API_FOO_COUNT + unsigned nb_filters; +#endif char *scale_sws_opts; ///< sws options to use for the auto-inserted scale filters char *resample_lavr_opts; ///< libavresample options to use for the auto-inserted resample filters +#if FF_API_FOO_COUNT + unsigned nb_filters; +#endif } AVFilterGraph; /** -- cgit v1.2.3