avf_concat: fix permissions.

This commit is contained in:
Nicolas George 2012-08-14 18:40:05 +02:00
parent 44127c0489
commit de35d2b498
1 changed files with 1 additions and 2 deletions

View File

@ -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,
};