[FFmpeg-cvslog] vf_hqdn3d: fix permissions

Michael Niedermayer git at videolan.org
Wed Nov 28 18:12:22 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Nov 28 18:05:09 2012 +0100| [ed547e2ce5d567bc5ab6c5d27f56b39daadffbed] | committer: Michael Niedermayer

vf_hqdn3d: fix permissions

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavfilter/vf_hqdn3d.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c
index f3d445c..92e0b44 100644
--- a/libavfilter/vf_hqdn3d.c
+++ b/libavfilter/vf_hqdn3d.c
@@ -329,7 +329,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *in)
     AVFilterBufferRef *out;
     int direct, c;
 
-    if ((in->perms & AV_PERM_WRITE) && !(in->perms & AV_PERM_PRESERVE)) {
+    if (in->perms & AV_PERM_WRITE) {
         direct = 1;
         out = in;
     } else {



More information about the ffmpeg-cvslog mailing list