[bTSstream-devel] avoid respawning iconv all the time
Christophe Massiot
git at videolan.org
Thu Apr 9 20:04:28 CEST 2015
bitstream | branch: master | Christophe Massiot <cmassiot at openheadend.tv> | Thu Apr 9 20:04:09 2015 +0200| [919e5951a4bf874181870e9828a1e65d1211f63f] | committer: Christophe Massiot
avoid respawning iconv all the time
> http://git.videolan.org/gitweb.cgi/bitstream.git/?a=commit;h=919e5951a4bf874181870e9828a1e65d1211f63f
---
examples/dvb_print_si.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/dvb_print_si.c b/examples/dvb_print_si.c
index bbf4cb1..a2583be 100644
--- a/examples/dvb_print_si.c
+++ b/examples/dvb_print_si.c
@@ -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;
More information about the biTStream-devel
mailing list