From 055068d00126165a649bbd51d5dd3789f3f28e07 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 28 Dec 2008 17:07:47 +0000 Subject: Mention in the documentation of avfilter_poll_frame() that it returns a negative value in case of error. Originally committed as revision 16372 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfilter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavfilter') diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index ff08f71ced..804d52f683 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -509,7 +509,8 @@ int avfilter_request_frame(AVFilterLink *link); /** * Poll a frame from the filter chain. * @param link the input link - * @return the number of imediately available frames + * @return the number of immediately available frames, a negative + * number in case of error */ int avfilter_poll_frame(AVFilterLink *link); -- cgit v1.2.3