Commit 78cfbb8d authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

vlm: don't use a variable outside of its scope is set to the address holding the address of es and use outside of the
code where es was declared.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent c3af9ac2
......@@ -654,6 +654,7 @@ static int vlm_OnMediaUpdate( vlm_t *p_vlm, vlm_media_sys_t *p_media )
/* XXX: Don't do it that way, but properly use a new input item ref. */
input_item_t item = *p_media->vod.p_item;;
es_format_t es, *p_es = &es;
if( p_cfg->vod.psz_mux )
const char *psz_mux;
......@@ -664,7 +665,6 @@ static int vlm_OnMediaUpdate( vlm_t *p_vlm, vlm_media_sys_t *p_media )
psz_mux = p_cfg->vod.psz_mux;
es_format_t es, *p_es = &es;
union {
char text[5];
unsigned char utext[5];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment