summaryrefslogtreecommitdiff
path: root/libavfilter/avf_concat.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-14 18:40:05 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-17 18:26:39 +0200
commitde35d2b498dd5abf3e131426843bad442981eaaa (patch)
tree2ace021fa91b850d8a8b79fe360b587ad22dc5ff /libavfilter/avf_concat.c
parent44127c0489241528066d55196b3050d08eccf2fb (diff)
avf_concat: fix permissions.
Diffstat (limited to 'libavfilter/avf_concat.c')
-rw-r--r--libavfilter/avf_concat.c3
1 files changed, 1 insertions, 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,
};