vsrc_buffer: fix check from 7ae7c41.

The user submitted variable in this function is frame, not buf.
pull/5/head
Anton Khirnov 13 years ago
parent 219a9ed19e
commit 7bf9e3391f
  1. 2
      libavfilter/vsrc_buffer.c

@ -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…
Cancel
Save