[vlc-devel] commit: Fixed error code value in vmem. (Laurent Aimar )

git version control git at videolan.org
Sat Jan 23 18:43:07 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Jan 23 12:31:11 2010 +0100| [e193887aa31a0efafd11035ee18a1d7c73ecb453] | committer: Laurent Aimar 

Fixed error code value in vmem.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e193887aa31a0efafd11035ee18a1d7c73ecb453
---

 modules/video_output/vmem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/vmem.c b/modules/video_output/vmem.c
index a63be9b..54e6dc4 100644
--- a/modules/video_output/vmem.c
+++ b/modules/video_output/vmem.c
@@ -218,7 +218,7 @@ static int Open(vlc_object_t *object)
     if (!sys->pool) {
         picture_Release(picture);
         free(sys);
-        return VLC_SUCCESS;
+        return VLC_EGENERIC;
     }
 
     /* */




More information about the vlc-devel mailing list