X-Git-Url: http://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=blobdiff_plain;f=modules%2Fcodec%2Fcmml%2Fintf.c;h=06a3ac3135b5c681962d753c593f7899b3aa109e;hp=7838a2d4269219169ae70cd7c746ba7f2da8f41f;hb=5e340429d611d7ca9f6872bf5d205c3329e40939;hpb=65b3ba573099fa2bf209b5406052544359461621 diff --git a/modules/codec/cmml/intf.c b/modules/codec/cmml/intf.c index 7838a2d426..06a3ac3135 100644 --- a/modules/codec/cmml/intf.c +++ b/modules/codec/cmml/intf.c @@ -122,9 +122,7 @@ int OpenIntf ( vlc_object_t *p_this ) p_intf->p_sys = malloc( sizeof( intf_sys_t ) ); if( p_intf->p_sys == NULL ) - { - return( 1 ); - }; + return VLC_ENOMEM; p_intf->pf_run = RunIntf; @@ -142,7 +140,7 @@ int OpenIntf ( vlc_object_t *p_this ) var_AddCallback( p_intf->p_libvlc, "browse-follow-anchor", FollowAnchorCallback, p_intf ); - return( 0 ); + return VLC_SUCCESS; } /*****************************************************************************