vlc | branch: master | Martin Storsjö <[email protected]> | Sun Oct 2 22:41:29 2011 +0300| [21d370a594b8da29d7a204c3f4868151e9e9f054] | committer: Rémi Denis-Courmont
omxil: Avoid a double dll_close if the necessary functions aren't found Signed-off-by: Rémi Denis-Courmont <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=21d370a594b8da29d7a204c3f4868151e9e9f054 --- modules/codec/omxil/omxil.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c index ebaeaae..e0679c9 100644 --- a/modules/codec/omxil/omxil.c +++ b/modules/codec/omxil/omxil.c @@ -783,11 +783,6 @@ static int OpenGeneric( vlc_object_t *p_this, bool b_encode ) msg_Warn( p_this, "cannot find OMX_* symbols in `%s' (%s)", ppsz_dll_list[i], dlerror() ); dll_close(dll_handle); - } - - if( !pf_init || !pf_deinit || !pf_get_handle || !pf_free_handle || !pf_component_enum ) - { - dll_close(dll_handle); return VLC_EGENERIC; } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
