[MPlayer-cvslog] r29026 - trunk/libvo/vo_vdpau.c

Uoti Urpala uoti.urpala at pp1.inet.fi
Sat Mar 21 21:40:27 CET 2009


On Sat, 2009-03-21 at 20:59 +0100, cehoyos wrote:
> Change return value for create_vdp_decoder().

> -        && create_vdp_decoder(max_refs) < 0)
> +        && !create_vdp_decoder(max_refs))

IMO the previous version was better. I think the most consistent rule is
that functions named "do_xyz" (which this is clearly one of) should
return a negative error code if they fail to do xyz.



More information about the MPlayer-cvslog mailing list