How so?<br>

On Wed, Jun 21, 2017 at 11:08 PM, Rémi Denis-Courmont <remi@remlab.net> wrote:<br>
<blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">Le keskiviikkona 21. kesäkuuta 2017, 22.52.12 EEST Shaleen Jain a écrit :
<blockquote> ---
  src/input/stream.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/src/input/stream.c b/src/input/stream.c
 index ac4073dc06..f5cc213a09 100644
 --- a/src/input/stream.c
 +++ b/src/input/stream.c
 @@ -318,7 +318,8 @@ char *vlc_stream_ReadLine( stream_t *s )
              p_in = p_line;
              p_out = psz_new_line;
 
 -            if( vlc_iconv( priv->text.conv, &p_in, &i_in, &p_out, &i_out )
 == (size_t)-1 ) +            if( priv->text.conv != (vlc_iconv_t)(-1) &&
 +                    vlc_iconv( priv->text.conv, &p_in, &i_in, &p_out,
 &i_out ) == (size_t)-1 ) {
                  msg_Err( s, "conversion error: %s", vlc_strerror_c( errno )
 ); msg_Dbg( s, "original: %d, in %zu, out %zu", i_line, i_in, i_out );
</blockquote>
The logic is still flawed.

<div>-- 
</div>雷米‧德尼-库尔蒙
<a href="https://www.remlab.net/">https://www.remlab.net/</a>

_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
<a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></div></blockquote><br><br>