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

Paul B Mahol onemda at gmail.com
Fri Dec 11 09:16:47 CET 2015


On 12/11/15, Michael Niedermayer <michaelni at 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
>


More information about the ffmpeg-devel mailing list