diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-05-12 17:38:47 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-05-16 13:16:05 +0200 |
commit | 4d4098da009c8340997b8d1abedbf2062e4aa991 (patch) | |
tree | 2a2398b82a55b8a5feeaa87ece2fefbd5c83036d /libavfilter/asrc_aevalsrc.c | |
parent | 183596fa081cc283c61ba3c0bb8386f9139f761f (diff) | |
download | ffmpeg-streaming-4d4098da009c8340997b8d1abedbf2062e4aa991.zip ffmpeg-streaming-4d4098da009c8340997b8d1abedbf2062e4aa991.tar.gz |
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/asrc_aevalsrc.c')
-rw-r--r-- | libavfilter/asrc_aevalsrc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/asrc_aevalsrc.c b/libavfilter/asrc_aevalsrc.c index 94197b2..2078d7f 100644 --- a/libavfilter/asrc_aevalsrc.c +++ b/libavfilter/asrc_aevalsrc.c @@ -187,11 +187,9 @@ static int query_formats(AVFilterContext *ctx) EvalContext *eval = ctx->priv; enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_NONE }; int64_t chlayouts[] = { eval->chlayout, -1 }; - int packing_fmts[] = { AVFILTER_PLANAR, -1 }; avfilter_set_common_sample_formats (ctx, avfilter_make_format_list(sample_fmts)); ff_set_common_channel_layouts(ctx, avfilter_make_format64_list(chlayouts)); - avfilter_set_common_packing_formats(ctx, avfilter_make_format_list(packing_fmts)); return 0; } |