diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-05-12 19:38:47 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-05-16 15:16:05 +0400 |
commit | 4d4098da009c8340997b8d1abedbf2062e4aa991 (patch) | |
tree | 2a2398b82a55b8a5feeaa87ece2fefbd5c83036d /libavdevice/lavfi.c | |
parent | 183596fa081cc283c61ba3c0bb8386f9139f761f (diff) |
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.
Diffstat (limited to 'libavdevice/lavfi.c')
-rw-r--r-- | libavdevice/lavfi.c | 2 |
1 files changed, 0 insertions, 2 deletions
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, |