[FFmpeg-devel] [PATCH] avfilter: add SOFAlizer audio filter

Michael Niedermayer michaelni at gmx.at
Fri Dec 11 01:32:50 CET 2015


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 ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151211/c5c78eaf/attachment.sig>


More information about the ffmpeg-devel mailing list