Commit c4255556 authored by Rafaël Carré's avatar Rafaël Carré Committed by Rémi Denis-Courmont

TS demux: fix uninitialized language description

Bug introduced by me in 12edd19fSigned-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 9d348109
......@@ -3906,7 +3906,7 @@ static void PMTParseEsIso639( demux_t *p_demux, ts_pid_t *pid,
pid->es->fmt.p_extra_languages[i].psz_language[3] = '\0';
}
int type = p_decoded->code[i].i_audio_type;
pid->es->fmt.psz_description = GetAudioTypeDesc(p_demux, type);
pid->es->fmt.p_extra_languages[i].psz_description = GetAudioTypeDesc(p_demux, type);
}
}
#else
......
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