summaryrefslogtreecommitdiff
path: root/libavfilter/vsrc_buffer.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-04-14 12:49:27 +0200
committerAnton Khirnov <anton@khirnov.net>2012-04-14 18:58:20 +0200
commit7bf9e3391fa21d90ff283fc03a12287fe73db9e8 (patch)
treef0280e665fa5e37dbefecf254cf042e1bad0b738 /libavfilter/vsrc_buffer.c
parent219a9ed19ee81d0f351683f21dae6b29a0e65a0c (diff)
vsrc_buffer: fix check from 7ae7c41.
The user submitted variable in this function is frame, not buf.
Diffstat (limited to 'libavfilter/vsrc_buffer.c')
-rw-r--r--libavfilter/vsrc_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_buffer.c b/libavfilter/vsrc_buffer.c
index 46a18df713..742943aa57 100644
--- a/libavfilter/vsrc_buffer.c
+++ b/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)