<div dir="ltr">Hi Jean-Baptiste,<div><br></div><div>please check details (and TS dump url) in separate email i'v just sent to the list.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-21 11:03 GMT-05:00 Jean-Baptiste Kempf <span dir="ltr"><<a href="mailto:jb@videolan.org" target="_blank">jb@videolan.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Abylay,<br>
<br>
Could you be nice enough to share a sample with us?<br>
<br>
Thanks a lot.<br>
<br>
On Mon, 20 Nov 2017, at 22:52, Abylay Ospan wrote:<br>
> libvlc aborted if non english ATSC EPG strings arrived:<br>
><br>
> in vlc_meta_Set (p_meta=<optimized out>,<br>
> meta_type=meta_type@entry=vlc_<wbr>meta_ESNowPlaying,<br>
> psz_val=psz_val@entry=<wbr>0x7fffb5054530 "Pok\351mon") at input/meta.c:131<br>
> in EsOutProgramEpg (p_epg=<optimized out>, i_group=<optimized out>,<br>
> out=<optimized out>) at input/es_out.c:1408<br>
> ...<br>
> in ATSC_EIT_Callback (p_pid=0x7fffb500b690, p_eit=0x7fffb5045710) at<br>
> demux/mpeg/ts_psip.c:505<br>
><br>
> Better just not display this string than abort.<br>
> ---<br>
> src/input/meta.c | 3 +--<br>
> 1 file changed, 1 insertion(+), 2 deletions(-)<br>
><br>
> diff --git a/src/input/meta.c b/src/input/meta.c<br>
> index 241b926079..80325b1249 100644<br>
> --- a/src/input/meta.c<br>
> +++ b/src/input/meta.c<br>
> @@ -124,8 +124,7 @@ void vlc_meta_Delete( vlc_meta_t *m )<br>
> void vlc_meta_Set( vlc_meta_t *p_meta, vlc_meta_type_t meta_type, const<br>
> char *psz_val )<br>
> {<br>
> free( p_meta->ppsz_meta[meta_type] );<br>
> - assert( psz_val == NULL || IsUTF8( psz_val ) );<br>
> - p_meta->ppsz_meta[meta_type] = psz_val ? strdup( psz_val ) : NULL;<br>
> + p_meta->ppsz_meta[meta_type] = (psz_val && IsUTF8( psz_val )) ?<br>
> strdup( psz_val ) : NULL;<br>
> }<br>
><br>
> const char *vlc_meta_Get( const vlc_meta_t *p_meta, vlc_meta_type_t<br>
> meta_type )<br>
<span class="HOEnZb"><font color="#888888">> --<br>
> 2.11.0<br>
><br>
> ______________________________<wbr>_________________<br>
> vlc-devel mailing list<br>
> To unsubscribe or modify your subscription options:<br>
> <a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/vlc-devel</a><br>
<br>
<br>
--<br>
Jean-Baptiste Kempf - President<br>
<a href="tel:%2B33%20672%20704%20734" value="+33672704734">+33 672 704 734</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-size:12.8000001907349px">Abylay Ospan,</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">NetUP Inc.</span><br style="font-size:12.8000001907349px"><a href="http://www.netup.tv/" style="font-size:12.8000001907349px" target="_blank">http://www.netup.tv</a><br></div></div>
</div>