[FFmpeg-cvslog] fifo: fix permissions.

Nicolas George git at videolan.org
Fri Aug 17 18:44:16 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Tue Aug 14 18:38:05 2012 +0200| [44aeb06290bd5b8eeeb896e0dbaffc83630af217] | committer: Nicolas George

fifo: fix permissions.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=44aeb06290bd5b8eeeb896e0dbaffc83630af217
---

 libavfilter/fifo.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/fifo.c b/libavfilter/fifo.c
index 57b3e79..8c978cc 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,



More information about the ffmpeg-cvslog mailing list