lavfi: add error handling to start_frame().

This commit is contained in:
Anton Khirnov
2012-07-08 17:29:42 +02:00
parent 1470ce21ce
commit ebc8d97481
26 changed files with 209 additions and 99 deletions
+4 -1
View File
@@ -258,8 +258,11 @@ struct AVFilterPad {
* picture inside the link structure.
*
* Input video pads only.
*
* @return >= 0 on success, a negative AVERROR on error. picref will be
* unreferenced by the caller in case of error.
*/
void (*start_frame)(AVFilterLink *link, AVFilterBufferRef *picref);
int (*start_frame)(AVFilterLink *link, AVFilterBufferRef *picref);
/**
* Callback function to get a video buffer. If NULL, the filter system will