1
0
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:
Anton Khirnov 2012-04-14 12:49:27 +02:00
parent 219a9ed19e
commit 7bf9e3391f

View File

@ -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)