mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
@ -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…
Reference in New Issue
Block a user