From 4d4098da009c8340997b8d1abedbf2062e4aa991 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 12 May 2012 17:38:47 +0200 Subject: lavfi: drop planar/packed negotiation support The planar/packed switch and the packing_formats list is no longer required, since the planar/packed information is now stored in the sample format enum. This is technically a major API break, possibly it should be not too painful as we marked the audio filtering API as unstable. --- libavfilter/asrc_aevalsrc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavfilter/asrc_aevalsrc.c') diff --git a/libavfilter/asrc_aevalsrc.c b/libavfilter/asrc_aevalsrc.c index 94197b2..2078d7f 100644 --- a/libavfilter/asrc_aevalsrc.c +++ b/libavfilter/asrc_aevalsrc.c @@ -187,11 +187,9 @@ static int query_formats(AVFilterContext *ctx) EvalContext *eval = ctx->priv; enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_NONE }; int64_t chlayouts[] = { eval->chlayout, -1 }; - int packing_fmts[] = { AVFILTER_PLANAR, -1 }; avfilter_set_common_sample_formats (ctx, avfilter_make_format_list(sample_fmts)); ff_set_common_channel_layouts(ctx, avfilter_make_format64_list(chlayouts)); - avfilter_set_common_packing_formats(ctx, avfilter_make_format_list(packing_fmts)); return 0; } -- cgit v1.1