Browse Source

avoid respawning iconv all the time

master
Christophe Massiot 10 years ago
parent
commit
919e5951a4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      examples/dvb_print_si.c

+ 1
- 0
examples/dvb_print_si.c View File

@ -163,6 +163,7 @@ static char *iconv_wrapper(void *_unused, const char *psz_encoding,
psz_native_encoding);
return iconv_append_null(p_string, i_length);
}
psz_current_encoding = psz_encoding;
/* converted strings can be up to six times larger */
i_out_length = i_length * 6;

Loading…
Cancel
Save