aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-14 18:52:43 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-17 18:26:38 +0200
commitcc8104b9086d2951a8c47601117275fadc70bc02 (patch)
tree60fae31c9890441b952abb238f9640145547a386
parent046eb21c72c5a385179e0a043d6f164cf174d966 (diff)
downloadffmpeg-cc8104b9086d2951a8c47601117275fadc70bc02.tar.gz
lavfi: fix erroneous use of AV_PERM_PRESERVE in ff_inplace_start_frame.
ff_inplace_start_frame looks useless anyway.
-rw-r--r--libavfilter/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/video.c b/libavfilter/video.c
index 5a3bbb9ae6..86332bcfe2 100644
--- a/libavfilter/video.c
+++ b/libavfilter/video.c
@@ -173,7 +173,7 @@ int ff_inplace_start_frame(AVFilterLink *inlink, AVFilterBufferRef *inpicref)
AVFilterBufferRef *outpicref = NULL, *for_next_filter;
int ret = 0;
- if ((inpicref->perms & AV_PERM_WRITE) && !(inpicref->perms & AV_PERM_PRESERVE)) {
+ if (inpicref->perms & AV_PERM_WRITE) {
outpicref = avfilter_ref_buffer(inpicref, ~0);
if (!outpicref)
return AVERROR(ENOMEM);