[vlc-devel] [PATCH 09/11] image: use the new decoder_LoadModule()

Steve Lhomme robux4 at videolabs.io
Thu Jul 13 15:44: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 d9e8b9c9e6..19aa95cfe2 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -654,7 +654,7 @@ static decoder_t *CreateDecoder( vlc_object_t *p_this, const 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