projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
219a9ed
)
vsrc_buffer: fix check from 7ae7c41.
author
Anton Khirnov
<anton@khirnov.net>
Sat, 14 Apr 2012 10:49:27 +0000
(12:49 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Sat, 14 Apr 2012 16:58:20 +0000
(18:58 +0200)
The user submitted variable in this function is frame, not buf.
libavfilter/vsrc_buffer.c
patch
|
blob
|
history
diff --git
a/libavfilter/vsrc_buffer.c
b/libavfilter/vsrc_buffer.c
index
46a18df
..
742943a
100644
(file)
--- 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)