vsrc_buffer: fix check from 7ae7c41.
The user submitted variable in this function is frame, not buf.
This commit is contained in:
parent
219a9ed19e
commit
7bf9e3391f
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame,
|
|||
AVFilterBufferRef *buf;
|
||||
int ret;
|
||||
|
||||
if (!buf) {
|
||||
if (!frame) {
|
||||
c->eof = 1;
|
||||
return 0;
|
||||
} else if (c->eof)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue