X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Faf_astreamsync.c;h=97686472a94a030accdfee56af28eb97652cc7c6;hb=67a6dac7c18caecb418f7590a484dcbfcad869ab;hp=587d9a7662a79dcdc9ad34078d137411c9b61cbe;hpb=f8911b987de4a84ff8ae92f41ff492ece4acadb9;p=ffmpeg diff --git a/libavfilter/af_astreamsync.c b/libavfilter/af_astreamsync.c index 587d9a7662a..97686472a94 100644 --- a/libavfilter/af_astreamsync.c +++ b/libavfilter/af_astreamsync.c @@ -11,7 +11,7 @@ * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software @@ -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[]) {