fixes a crash and unchecked string-handling in ENCA code.
[mplayer.git] / libmpdemux / demux_ogg.c
index aaa11b6..5b3a656 100644 (file)
@@ -669,7 +669,7 @@ int demux_ogg_open(demuxer_t* demuxer) {
   sh_video_t* sh_v;
 
 #ifdef USE_ICONV
-  subcp_open_noenca();
+  subcp_open(NULL);
 #endif
 
   clear_sub = -1;