Browse Source

lavfi: fix erroneous use of AV_PERM_PRESERVE in ff_inplace_start_frame.

ff_inplace_start_frame looks useless anyway.
tags/n1.0
Nicolas George 12 years ago
parent
commit
cc8104b908
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/video.c

+ 1
- 1
libavfilter/video.c View File

@@ -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);


Loading…
Cancel
Save