aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-13 09:57:18 +0100
committerClément Bœsch <ubitux@gmail.com>2013-03-13 19:00:09 +0100
commitafa0b90803f10d7629bdd42a1423e93f5abb6030 (patch)
treed5e0908bda9271ff9de47eb4927eb91febd96845
parent227a4b63f5d27043555b9e5dfc80b51b50752bc7 (diff)
downloadffmpeg-afa0b90803f10d7629bdd42a1423e93f5abb6030.tar.gz
lavfi/mandelbrot: raise filter_frame() error.
-rw-r--r--libavfilter/vsrc_mandelbrot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index c6f3550b47..945c7071c6 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -387,9 +387,7 @@ static int request_frame(AVFilterLink *link)
picref->pts = mb->pts++;
draw_mandelbrot(link->src, (uint32_t*)picref->data[0], picref->linesize[0]/4, picref->pts);
- ff_filter_frame(link, picref);
-
- return 0;
+ return ff_filter_frame(link, picref);
}
static const AVFilterPad mandelbrot_outputs[] = {