aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-13 09:57:31 +0100
committerClément Bœsch <ubitux@gmail.com>2013-03-13 19:00:10 +0100
commitbce2e97a16a2dbd7d06c4ed41a5793be4b37a81a (patch)
treedfc23cf0ad8d843b8c6ca8f3311ee735d5f8f0bc
parentafa0b90803f10d7629bdd42a1423e93f5abb6030 (diff)
downloadffmpeg-bce2e97a16a2dbd7d06c4ed41a5793be4b37a81a.tar.gz
lavfi/mptestsrc: raise filter_frame() error.
-rw-r--r--libavfilter/vsrc_mptestsrc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c
index a6d938c00a..05a1af6dc0 100644
--- a/libavfilter/vsrc_mptestsrc.c
+++ b/libavfilter/vsrc_mptestsrc.c
@@ -355,9 +355,7 @@ static int request_frame(AVFilterLink *outlink)
}
test->frame_nb++;
- ff_filter_frame(outlink, picref);
-
- return 0;
+ return ff_filter_frame(outlink, picref);
}
static const AVFilterPad mptestsrc_outputs[] = {