[vlc-devel] [PATCH 1/5] codec/subsusf: remove forcing sdl_image if available
Marvin Scholz
epirat07 at gmail.com
Wed Sep 30 16:43:13 CEST 2020
---
modules/codec/subsusf.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/modules/codec/subsusf.c b/modules/codec/subsusf.c
index 44248ff6647..9b9b42a0bbc 100644
--- a/modules/codec/subsusf.c
+++ b/modules/codec/subsusf.c
@@ -517,18 +517,7 @@ static int ParseImageAttachments( decoder_t *p_dec )
es_in.video.i_chroma = type;
video_format_Init( &fmt_out, VLC_CODEC_YUVA );
- /* Find a suitable decoder module */
- if( module_exists( "sdl_image" ) )
- {
- /* ffmpeg thinks it can handle bmp properly but it can't (at least
- * not all of them), so use sdl_image if it is available */
-
- var_Create( p_dec, "codec", VLC_VAR_STRING | VLC_VAR_DOINHERIT );
- var_SetString( p_dec, "codec", "sdl_image" );
- }
-
p_pic = image_Read( p_image, p_block, &es_in, &fmt_out );
- var_Destroy( p_dec, "codec" );
es_format_Clean( &es_in );
video_format_Clean( &fmt_out );
}
--
2.24.3 (Apple Git-128)
More information about the vlc-devel
mailing list