summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-06-21 11:48:58 +0200
committerAnton Khirnov <anton@khirnov.net>2012-06-26 13:24:36 +0200
commitf892013ac47cf1dd3c0c2d1ccb08a7822e869efa (patch)
tree8f74759d4cb3a7cc7b35237b3542c0f87d4b223d /libavfilter
parent961808051222ddb319ce38c0d32caea503cf258c (diff)
downloadffmpeg-f892013ac47cf1dd3c0c2d1ccb08a7822e869efa.tar.gz
lavfi: reorder AVFilterContext fields.
Place related fields together, remove holes.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avfilter.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index bbbc53ed0f..1761488ac2 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -417,22 +417,21 @@ struct AVFilterContext {
char *name; ///< name of this filter instance
+ AVFilterPad *input_pads; ///< array of input pads
+ AVFilterLink **inputs; ///< array of pointers to input links
#if FF_API_FOO_COUNT
unsigned input_count; ///< @deprecated use nb_inputs
#endif
- AVFilterPad *input_pads; ///< array of input pads
- AVFilterLink **inputs; ///< array of pointers to input links
+ unsigned nb_inputs; ///< number of input pads
+ AVFilterPad *output_pads; ///< array of output pads
+ AVFilterLink **outputs; ///< array of pointers to output links
#if FF_API_FOO_COUNT
unsigned output_count; ///< @deprecated use nb_outputs
#endif
- AVFilterPad *output_pads; ///< array of output pads
- AVFilterLink **outputs; ///< array of pointers to output links
+ unsigned nb_outputs; ///< number of output pads
void *priv; ///< private data for use by the filter
-
- unsigned nb_inputs; ///< number of input pads
- unsigned nb_outputs; ///< number of output pads
};
/**