From 44aeb06290bd5b8eeeb896e0dbaffc83630af217 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Tue, 14 Aug 2012 18:38:05 +0200 Subject: fifo: fix permissions. --- libavfilter/fifo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/fifo.c') diff --git a/libavfilter/fifo.c b/libavfilter/fifo.c index 57b3e79e4b..8c978cc93c 100644 --- a/libavfilter/fifo.c +++ b/libavfilter/fifo.c @@ -282,7 +282,7 @@ AVFilter avfilter_vf_fifo = { .start_frame = add_to_queue, .draw_slice = draw_slice, .end_frame = end_frame, - .rej_perms = AV_PERM_REUSE2, }, + .min_perms = AV_PERM_PRESERVE, }, { .name = NULL}}, .outputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, @@ -303,7 +303,7 @@ AVFilter avfilter_af_afifo = { .type = AVMEDIA_TYPE_AUDIO, .get_audio_buffer = ff_null_get_audio_buffer, .filter_samples = add_to_queue, - .rej_perms = AV_PERM_REUSE2, }, + .min_perms = AV_PERM_PRESERVE, }, { .name = NULL}}, .outputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_AUDIO, -- cgit v1.2.3