vsrc_buffer: fix check from 7ae7c41
.
The user submitted variable in this function is frame, not buf.
This commit is contained in:
@@ -51,7 +51,7 @@ int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame,
|
|||||||
AVFilterBufferRef *buf;
|
AVFilterBufferRef *buf;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (!buf) {
|
if (!frame) {
|
||||||
c->eof = 1;
|
c->eof = 1;
|
||||||
return 0;
|
return 0;
|
||||||
} else if (c->eof)
|
} else if (c->eof)
|
||||||
|
Reference in New Issue
Block a user