aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-23 13:44:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-23 13:44:05 +0200
commit67a304985e35b39d1f1d7de3c156db39211caf18 (patch)
treea0f8ed9fc160f7455e59656b49684d6c329e170d
parent612307978d6e7969d864bc9eea3c095185531d31 (diff)
downloadffmpeg-67a304985e35b39d1f1d7de3c156db39211caf18.tar.gz
vf_overlay: fix missed return
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/vf_overlay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c
index 935274f06d..05e9e1b480 100644
--- a/libavfilter/vf_overlay.c
+++ b/libavfilter/vf_overlay.c
@@ -529,7 +529,7 @@ static int draw_slice_main(AVFilterLink *inlink, int y, int h, int slice_dir)
AVFilterBufferRef *outpicref = outlink->out_buf;
if (!outpicref)
- return;
+ return 0;
if (over->overpicref &&
y + h > over->y && y < over->y + over->overpicref->video->h) {
blend_slice(ctx, outpicref, over->overpicref, over->x, over->y,