[vlc-commits] codec/subsusf: remove forcing sdl_image if available
Marvin Scholz
git at videolan.org
Sat Oct 10 01:22:39 CEST 2020
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Sep 30 16:26:24 2020 +0200| [f1e1c5ebb340329fd990131a668319185e91ec58] | committer: Marvin Scholz
codec/subsusf: remove forcing sdl_image if available
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f1e1c5ebb340329fd990131a668319185e91ec58
---
modules/codec/subsusf.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/modules/codec/subsusf.c b/modules/codec/subsusf.c
index 44248ff664..9b9b42a0bb 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 );
}
More information about the vlc-commits
mailing list