[vlc-commits] demux: subtitle: don't set encoding

Francois Cartegnie git at videolan.org
Mon Apr 23 20:17:43 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Apr 23 16:38:02 2018 +0200| [3af169ca8b172c29dea16aa307e441bed951f399] | committer: Francois Cartegnie

demux: subtitle: don't set encoding

readline converts data

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3af169ca8b172c29dea16aa307e441bed951f399
---

 modules/demux/subtitle.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c
index 35f6e81ec2..4966062ef7 100644
--- a/modules/demux/subtitle.c
+++ b/modules/demux/subtitle.c
@@ -715,8 +715,6 @@ static int Open ( vlc_object_t *p_this )
                  p_demux->psz_location );
     }
 
-    if( psz_bom )
-        fmt.subs.psz_encoding = strdup( psz_bom );
     char *psz_description = var_InheritString( p_demux, "sub-description" );
     if( psz_description && *psz_description )
         fmt.psz_description = psz_description;



More information about the vlc-commits mailing list