From 368f368e593f60da32ec43a40e262e943e781b3d Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Tue, 14 Aug 2012 18:39:08 +0200 Subject: [PATCH] af_channelmap: require AV_PERM_PRESERVE. --- libavfilter/af_astreamsync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/af_astreamsync.c b/libavfilter/af_astreamsync.c index 3c5b77e0ab..97686472a9 100644 --- a/libavfilter/af_astreamsync.c +++ b/libavfilter/af_astreamsync.c @@ -192,11 +192,11 @@ AVFilter avfilter_af_astreamsync = { { .name = "in1", .type = AVMEDIA_TYPE_AUDIO, .filter_samples = filter_samples, - .min_perms = AV_PERM_READ, }, + .min_perms = AV_PERM_READ | AV_PERM_PRESERVE, }, { .name = "in2", .type = AVMEDIA_TYPE_AUDIO, .filter_samples = filter_samples, - .min_perms = AV_PERM_READ, }, + .min_perms = AV_PERM_READ | AV_PERM_PRESERVE, }, { .name = NULL } }, .outputs = (const AVFilterPad[]) {