[FFmpeg-devel] [PATCH] lavfi/buffersrc: forward filter_frame errors.
Stefano Sabatini
stefasab at gmail.com
Thu Jan 31 17:58:04 CET 2013
On date Thursday 2013-01-31 14:53:35 +0100, Nicolas George encoded:
> Note: The ret variable was unused.
>
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
> libavfilter/buffersrc.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
> index 074d43a..3fdf8d3 100644
> --- a/libavfilter/buffersrc.c
> +++ b/libavfilter/buffersrc.c
> @@ -384,7 +384,6 @@ static int request_frame(AVFilterLink *link)
> {
> BufferSourceContext *c = link->src->priv;
> AVFilterBufferRef *buf;
> - int ret = 0;
>
> if (!av_fifo_size(c->fifo)) {
> if (c->eof)
> @@ -394,9 +393,7 @@ static int request_frame(AVFilterLink *link)
> }
> av_fifo_generic_read(c->fifo, &buf, sizeof(buf), NULL);
>
> - ff_filter_frame(link, buf);
> -
> - return ret;
> + return ff_filter_frame(link, buf);
> }
LGTM, thanks.
--
FFmpeg = Free and Fantastic Mastodontic Puritan Erotic Gymnast
More information about the ffmpeg-devel
mailing list