mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libmpcodecs/vf_pullup: update to latest version from mplayer
Please see mplayer svn for authorship and individual commits Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
13afcdd00e
commit
81e357db62
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user