[vlc-commits] commit: Fixes a crash in VLC caused by a missing verification for a NULL pointer. (Lucas C. Villa Real )
git at videolan.org
git at videolan.org
Tue Mar 30 21:41:02 CEST 2010
vlc | branch: master | Lucas C. Villa Real <lucasvr at lsi.usp.br> | Tue Mar 30 21:39:55 2010 +0200| [ad36104619595ff0ce5378ad9fb01338980a8fd7] | committer: Laurent Aimar
Fixes a crash in VLC caused by a missing verification for a NULL pointer.
Signed-off-by: Laurent Aimar <fenrir at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ad36104619595ff0ce5378ad9fb01338980a8fd7
---
src/input/es_out.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index bbcbcd7..8d348b1 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -1234,7 +1234,7 @@ static void EsOutProgramMeta( es_out_t *out, int i_group, const vlc_meta_t *p_me
char **ppsz_all_keys = vlc_meta_CopyExtraNames(p_meta );
info_category_t *p_cat = NULL;
- if( psz_provider || *ppsz_all_keys[0] )
+ if( psz_provider || ( ppsz_all_keys[0] && *ppsz_all_keys[0] ) )
{
char *psz_cat = EsOutProgramGetMetaName( p_pgrm );
if( psz_cat )
More information about the vlc-commits
mailing list