Browse Source

vsrc_buffer: fix check from 7ae7c41.

The user submitted variable in this function is frame, not buf.
tags/n0.11
Anton Khirnov 14 years ago
parent
commit
7bf9e3391f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vsrc_buffer.c

+ 1
- 1
libavfilter/vsrc_buffer.c 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)


Loading…
Cancel
Save