[vlc-devel] [PATCH] lib: map position enum to the correct subpicture bitwise mask values

Rémi Denis-Courmont remi at remlab.net
Fri May 23 12:26:47 CEST 2014


Le 2014-05-23 13:51, Mark Lee a écrit :
> If the boundary check fails should an error code be returned?

You can't return an error without breaking the LibVLC 2.1.0 binary 
interface.

I think the boundary check should simply be an assertion. Passing a 
wrong value was never defined behaviour.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list