summaryrefslogtreecommitdiff
path: root/libavfilter/src_movie.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/src_movie.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/src_movie.c')
-rw-r--r--libavfilter/src_movie.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c
index 30624559fc..21e4e3f122 100644
--- a/libavfilter/src_movie.c
+++ b/libavfilter/src_movie.c
@@ -370,13 +370,11 @@ static int amovie_query_formats(AVFilterContext *ctx)
AVCodecContext *c = movie->codec_ctx;
enum AVSampleFormat sample_fmts[] = { c->sample_fmt, -1 };
- int packing_fmts[] = { AVFILTER_PACKED, -1 };
int sample_rates[] = { c->sample_rate, -1 };
int64_t chlayouts[] = { c->channel_layout ? c->channel_layout :
av_get_default_channel_layout(c->channels), -1 };
avfilter_set_common_sample_formats (ctx, avfilter_make_format_list(sample_fmts));
- avfilter_set_common_packing_formats(ctx, avfilter_make_format_list(packing_fmts));
ff_set_common_samplerates (ctx, avfilter_make_format_list(sample_rates));
ff_set_common_channel_layouts(ctx, avfilter_make_format64_list(chlayouts));