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. --- libavdevice/lavfi.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavdevice') diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index 0a6eb913dd..bdc5f58077 100644 --- a/libavdevice/lavfi.c +++ b/libavdevice/lavfi.c @@ -211,11 +211,9 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx) AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_DBL, -1 }; - const int packing_fmts[] = { AVFILTER_PACKED, -1 }; const int64_t *chlayouts = avfilter_all_channel_layouts; AVABufferSinkParams *abuffersink_params = av_abuffersink_params_alloc(); abuffersink_params->sample_fmts = sample_fmts; - abuffersink_params->packing_fmts = packing_fmts; abuffersink_params->channel_layouts = chlayouts; ret = avfilter_graph_create_filter(&sink, abuffersink, -- cgit v1.2.3