[FFmpeg-cvslog] avf_concat: 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:40:05 2012 +0200| [de35d2b498dd5abf3e131426843bad442981eaaa] | committer: Nicolas George

avf_concat: fix permissions.

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

 libavfilter/avf_concat.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c
index 6b4fffa..69c0a75 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,
                 };



More information about the ffmpeg-cvslog mailing list