From 81e357db625939afec36c7c92a3a0fcf5e21f2e0 Mon Sep 17 00:00:00 2001 From: multiple authors Date: Tue, 5 Feb 2013 14:17:54 +0100 Subject: [PATCH] libmpcodecs/vf_pullup: update to latest version from mplayer Please see mplayer svn for authorship and individual commits Signed-off-by: Michael Niedermayer --- libavfilter/libmpcodecs/vf_pullup.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavfilter/libmpcodecs/vf_pullup.c b/libavfilter/libmpcodecs/vf_pullup.c index 1a0de7c480..e4a28c46d5 100644 --- a/libavfilter/libmpcodecs/vf_pullup.c +++ b/libavfilter/libmpcodecs/vf_pullup.c @@ -270,7 +270,10 @@ static int config(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) { - if (height&3) return 0; + if (height&3) { + ff_mp_msg(MSGT_VFILTER, MSGL_ERR, "height must be divisible by four\n"); + return 0; + } return ff_vf_next_config(vf, width, height, d_width, d_height, flags, outfmt); }