vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Apr 7 00:02:41 2013 +0300| [358615415872d760a2b457dbe8074ebcbbfdfbfd] | committer: Rémi Denis-Courmont
avformat: validate encoding of meta informations (fixes #8390) (cherry picked from commit 17c4881762c30e3c966069318428ef292b8566f0) > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=358615415872d760a2b457dbe8074ebcbbfdfbfd --- modules/demux/avformat/demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c index d888b36..cf6aae2 100644 --- a/modules/demux/avformat/demux.c +++ b/modules/demux/avformat/demux.c @@ -891,7 +891,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) continue; AVDictionaryEntry *e = av_dict_get( dict, names[i], NULL, 0 ); - if( e != NULL && e->value != NULL ) + if( e != NULL && e->value != NULL && IsUTF8(e->value) ) vlc_meta_Set( p_meta, i, e->value ); } return VLC_SUCCESS; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
