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[]) {