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
51 AVFilterBufferRef *buf;51 AVFilterBufferRef *buf;
52 int ret;52 int ret;
53 53
54 if (!buf) {54 if (!frame) {
55 c->eof = 1;55 c->eof = 1;
56 return 0;56 return 0;
57 } else if (c->eof)57 } 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