On 12/11/15, Michael Niedermayer <michae...@gmx.at> wrote: > On Fri, Dec 11, 2015 at 12:03:34AM +0100, Paul B Mahol wrote: > [...] >> +static int query_formats(AVFilterContext *ctx) >> +{ >> + struct SOFAlizerContext *s = ctx->priv; >> + AVFilterFormats *formats = NULL; >> + AVFilterChannelLayouts *layouts = NULL; > >> + static int sample_rates[] = { 48000, -1 }; > > [...] >> + sample_rates[0] = s->sample_rate; >> + formats = ff_make_format_list(sample_rates); > > is this intended to be a non constant static/global ?
Oh, no. fixed. Thanks. > > [...] > -- > Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB > > He who knows, does not speak. He who speaks, does not know. -- Lao Tsu > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel