Commit 7bf9e339 authored by Anton Khirnov's avatar Anton Khirnov

vsrc_buffer: fix check from 7ae7c414.

The user submitted variable in this function is frame, not buf.
parent 219a9ed1
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment