[vlc-devel] [PATCH] Return null when vlc.strings.from_charset charset is invalid

Rémi Denis-Courmont remi at remlab.net
Mon Jan 9 09:24:05 CET 2012


On Sun,  8 Jan 2012 21:54:58 -0500, Edward Wang
<edward.c.wang at compdigitec.com> wrote:
> Show a debug warning and return "nil" when the charset requested is
> invalid.
> 
> Close #4815

You seem to assume that FromCharset() returns NULL only on iconv_open()
failure. That is not true.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list