From de35d2b498dd5abf3e131426843bad442981eaaa Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Tue, 14 Aug 2012 18:40:05 +0200 Subject: [PATCH] avf_concat: fix permissions. --- libavfilter/avf_concat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c index 6b4fffa19f..69c0a75dba 100644 --- a/libavfilter/avf_concat.c +++ b/libavfilter/avf_concat.c @@ -378,8 +378,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args) for (str = 0; str < cat->nb_streams[type]; str++) { AVFilterPad pad = { .type = type, - .min_perms = AV_PERM_READ, - .rej_perms = AV_PERM_REUSE2, + .min_perms = AV_PERM_READ | AV_PERM_PRESERVE, .get_video_buffer = get_video_buffer, .get_audio_buffer = get_audio_buffer, };