[vlc-devel] [PATCH 05/18] image: use the new decoder_LoadModule()

Steve Lhomme robux4 at videolabs.io
Mon Jul 17 17:41:42 CEST 2017


---
 src/misc/image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/image.c b/src/misc/image.c
index 81c2eae2fc..303f00916a 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -655,7 +655,7 @@ static decoder_t *CreateDecoder( vlc_object_t *p_this, video_format_t *fmt )
     p_dec->pf_vout_buffer_new = video_new_buffer;
 
     /* Find a suitable decoder module */
-    p_dec->p_module = module_need( p_dec, "video decoder", "$codec", false );
+    p_dec->p_module = decoder_LoadModule( p_dec );
     if( !p_dec->p_module )
     {
         msg_Err( p_dec, "no suitable decoder module for fourcc `%4.4s'. "
-- 
2.12.1



More information about the vlc-devel mailing list