History

lavfi: add error handling to start_frame().

Anton Khirnov committed 14 years ago

Commit ebc8d971 parent 1470ce226 files · +209 −99Browse files

Showing the changes to libavfilter/avfilter.h (1 of 26 files). Show all

Unified · Split

libavfilter/avfilter.h+4−1
@@ -258,8 +258,11 @@ struct AVFilterPad { · 257 unmodified lines
258 * picture inside the link structure.258 * picture inside the link structure.
259 *259 *
260 * Input video pads only.260 * Input video pads only.
261 *
262 * @return >= 0 on success, a negative AVERROR on error. picref will be
263 * unreferenced by the caller in case of error.
261 */264 */
262 void (*start_frame)(AVFilterLink *link, AVFilterBufferRef *picref);265 int (*start_frame)(AVFilterLink *link, AVFilterBufferRef *picref);
263 266
264 /**267 /**
265 * Callback function to get a video buffer. If NULL, the filter system will268 * Callback function to get a video buffer. If NULL, the filter system will

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