From ad36104619595ff0ce5378ad9fb01338980a8fd7 Mon Sep 17 00:00:00 2001 From: "Lucas C. Villa Real" Date: Tue, 30 Mar 2010 21:39:55 +0200 Subject: [PATCH] Fixes a crash in VLC caused by a missing verification for a NULL pointer. Signed-off-by: Laurent Aimar --- src/input/es_out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/es_out.c b/src/input/es_out.c index bbcbcd7222..8d348b1509 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 ) -- 2.39.2