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/af_earwax.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavfilter/af_earwax.c') diff --git a/libavfilter/af_earwax.c b/libavfilter/af_earwax.c index 2ab248f390..d4884f0624 100644 --- a/libavfilter/af_earwax.c +++ b/libavfilter/af_earwax.c @@ -86,9 +86,6 @@ static int query_formats(AVFilterContext *ctx) avfilter_set_common_sample_formats(ctx, formats); ff_add_channel_layout(&layout, AV_CH_LAYOUT_STEREO); ff_set_common_channel_layouts(ctx, layout); - formats = NULL; - avfilter_add_format(&formats, AVFILTER_PACKED); - avfilter_set_common_packing_formats(ctx, formats); ff_set_common_samplerates(ctx, avfilter_make_format_list(sample_rates)); return 0; -- cgit v1.2.3