[vlc-devel] [PATCH 1/2] omxil: Avoid a double dll_close if the necessary functions aren't found
Martin Storsjö
martin at martin.st
Sun Oct 2 21:41:29 CEST 2011
---
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 d8cb50f..1245cd2 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -779,11 +779,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;
}
--
1.7.2.5
More information about the vlc-devel
mailing list