mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +02:00
lavfi: fix erroneous use of AV_PERM_PRESERVE in ff_inplace_start_frame.
ff_inplace_start_frame looks useless anyway.
This commit is contained in:
parent
046eb21c72
commit
cc8104b908
@ -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…
x
Reference in New Issue
Block a user