Mercurial > mplayer.hg
changeset 14930:c36a814cdca0
missing return statement (1e5l for me)
author | henry |
---|---|
date | Tue, 08 Mar 2005 22:11:49 +0000 |
parents | 3febdb2983e0 |
children | f78368ba59b7 |
files | libmpcodecs/vf.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf.c Mon Mar 07 22:45:47 2005 +0000 +++ b/libmpcodecs/vf.c Tue Mar 08 22:11:49 2005 +0000 @@ -561,7 +561,7 @@ if ((vf->fmt.orig_width != width) || (vf->fmt.orig_height != height) || (vf->fmt.orig_fmt != outfmt)) { - mp_msg(MSGT_VFILTER,MSGL_FATAL,MSGTR_ResolutionDoesntMatch); + mp_msg(MSGT_VFILTER,MSGL_ERR,MSGTR_ResolutionDoesntMatch); return 0; } return 1; @@ -570,7 +570,7 @@ vf->fmt.orig_height = height; vf->fmt.orig_width = width; vf->fmt.orig_fmt = outfmt; - vf->config(vf, width, height, d_width, d_height, flags, outfmt); + return vf->config(vf, width, height, d_width, d_height, flags, outfmt); } int vf_next_config(struct vf_instance_s* vf,