[vlc-devel] [PATCH 1/4] Fix issue with jni_ConfigureSurface return value. Only check for configure flag if return is equal to 0. Return value of -1 is ignored.

Jean-Baptiste Kempf jb at videolan.org
Wed Jan 21 16:41:46 CET 2015


On 11 Dec, Paulo Vitor Magacho da Silva wrote :
> ---
>  modules/video_output/android/surface.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Why?
This does not make sense to me. If jni_ConfigureSurface returns -1, then
something is wrong, and we should return EGENERIC.

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list