History

vsrc_buffer: fix check from 7ae7c41.

The user submitted variable in this function is frame, not buf.

Anton Khirnov committed 14 years ago

Commit 7bf9e331 parent 219a9ed1 file · +1 −1Browse files

Unified · Split

libavfilter/vsrc_buffer.c+1−1
@@ -51,7 +51,7 @@ int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, · 50 unmodified lines
5151 AVFilterBufferRef *buf;
5252 int ret;
5353
54− if (!buf) {
54+ if (!frame) {
5555 c->eof = 1;
5656 return 0;
5757 } else if (c->eof)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t