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/buffersink.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavfilter/buffersink.h') diff --git a/libavfilter/buffersink.h b/libavfilter/buffersink.h index 2ee5294..714fa04 100644 --- a/libavfilter/buffersink.h +++ b/libavfilter/buffersink.h @@ -46,7 +46,9 @@ AVBufferSinkParams *av_buffersink_params_alloc(void); typedef struct { const enum AVSampleFormat *sample_fmts; ///< list of allowed sample formats, terminated by AV_SAMPLE_FMT_NONE const int64_t *channel_layouts; ///< list of allowed channel layouts, terminated by -1 +#if FF_API_PACKING const int *packing_fmts; ///< list of allowed packing formats +#endif } AVABufferSinkParams; /** -- cgit v1.1