summaryrefslogtreecommitdiff
path: root/libavfilter/af_astreamsync.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-05-12 17:38:47 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-05-16 13:16:05 +0200
commit4d4098da009c8340997b8d1abedbf2062e4aa991 (patch)
tree2a2398b82a55b8a5feeaa87ece2fefbd5c83036d /libavfilter/af_astreamsync.c
parent183596fa081cc283c61ba3c0bb8386f9139f761f (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 'libavfilter/af_astreamsync.c')
-rw-r--r--libavfilter/af_astreamsync.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavfilter/af_astreamsync.c b/libavfilter/af_astreamsync.c
index 9f040238d9..c591293a46 100644
--- a/libavfilter/af_astreamsync.c
+++ b/libavfilter/af_astreamsync.c
@@ -87,9 +87,6 @@ static int query_formats(AVFilterContext *ctx)
formats = ctx->inputs[i]->in_formats;
avfilter_formats_ref(formats, &ctx->inputs[i]->out_formats);
avfilter_formats_ref(formats, &ctx->outputs[i]->in_formats);
- formats = ctx->inputs[i]->in_packing;
- avfilter_formats_ref(formats, &ctx->inputs[i]->out_packing);
- avfilter_formats_ref(formats, &ctx->outputs[i]->in_packing);
layouts = ctx->inputs[i]->in_channel_layouts;
ff_channel_layouts_ref(layouts, &ctx->inputs[i]->out_channel_layouts);
ff_channel_layouts_ref(layouts, &ctx->outputs[i]->in_channel_layouts);