diff options
Diffstat (limited to 'libavfilter/vf_random.c')
-rw-r--r-- | libavfilter/vf_random.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/vf_random.c b/libavfilter/vf_random.c index 5e4c30a3b5..b3acdd1fcf 100644 --- a/libavfilter/vf_random.c +++ b/libavfilter/vf_random.c @@ -127,7 +127,6 @@ static const AVFilterPad random_inputs[] = { .type = AVMEDIA_TYPE_VIDEO, .filter_frame = filter_frame, }, - { NULL } }; static const AVFilterPad random_outputs[] = { @@ -136,7 +135,6 @@ static const AVFilterPad random_outputs[] = { .type = AVMEDIA_TYPE_VIDEO, .request_frame = request_frame, }, - { NULL } }; const AVFilter ff_vf_random = { @@ -146,6 +144,6 @@ const AVFilter ff_vf_random = { .priv_class = &random_class, .init = init, .uninit = uninit, - .inputs = random_inputs, - .outputs = random_outputs, + FILTER_INPUTS(random_inputs), + FILTER_OUTPUTS(random_outputs), }; |