fixes a crash and unchecked string-handling in ENCA code.
[mplayer.git] / libmpdemux / demux_mkv.c
index 4aff2ab..5e48363 100644 (file)
@@ -2018,7 +2018,7 @@ demux_mkv_open (demuxer_t *demuxer)
   char *str;
 
 #ifdef USE_ICONV
-  subcp_open_noenca();
+  subcp_open(NULL);
 #endif
 
   stream_seek(s, s->start_pos);