summaryrefslogtreecommitdiff
path: root/libavfilter/fifo.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-14 18:38:05 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-17 18:26:39 +0200
commit44aeb06290bd5b8eeeb896e0dbaffc83630af217 (patch)
tree241bf6d3f844eb3ed305ea11bbc7da44fbe54613 /libavfilter/fifo.c
parenta34eb393fccd5775d51a9b6f53d22f18020d5af4 (diff)
downloadffmpeg-44aeb06290bd5b8eeeb896e0dbaffc83630af217.tar.gz
fifo: fix permissions.
Diffstat (limited to 'libavfilter/fifo.c')
-rw-r--r--libavfilter/fifo.c4
1 files changed, 2 insertions, 2 deletions
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,