From 3db407038e9b7e0da2537fc2e19c370c45dba355 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 21 Jul 2012 09:45:52 -0700 Subject: lavfi: use const for AVFilterPad declarations in all filters. --- libavfilter/af_anull.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libavfilter/af_anull.c') diff --git a/libavfilter/af_anull.c b/libavfilter/af_anull.c index 231fc8c411..462ad68269 100644 --- a/libavfilter/af_anull.c +++ b/libavfilter/af_anull.c @@ -31,12 +31,12 @@ AVFilter avfilter_af_anull = { .priv_size = 0, - .inputs = (AVFilterPad[]) {{ .name = "default", - .type = AVMEDIA_TYPE_AUDIO, - .get_audio_buffer = ff_null_get_audio_buffer, }, - { .name = NULL}}, + .inputs = (const AVFilterPad[]) {{ .name = "default", + .type = AVMEDIA_TYPE_AUDIO, + .get_audio_buffer = ff_null_get_audio_buffer, }, + { .name = NULL}}, - .outputs = (AVFilterPad[]) {{ .name = "default", - .type = AVMEDIA_TYPE_AUDIO, }, - { .name = NULL}}, + .outputs = (const AVFilterPad[]) {{ .name = "default", + .type = AVMEDIA_TYPE_AUDIO, }, + { .name = NULL}}, }; -- cgit v1.2.3