Commit 21d8776f authored by Petri Hintukainen's avatar Petri Hintukainen Committed by Jean-Baptiste Kempf

bluray: fix copy-paste error

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent e3d09f91
......@@ -971,7 +971,7 @@ static int blurayEsPid(demux_sys_t *p_sys, int es_type, int i_es_idx)
if (p_sys->p_clip_info) {
if (es_type == AUDIO_ES) {
if (i_es_idx >= 0 && i_es_idx < p_sys->p_clip_info->pg_stream_count) {
if (i_es_idx >= 0 && i_es_idx < p_sys->p_clip_info->audio_stream_count) {
i_pid = p_sys->p_clip_info->audio_streams[i_es_idx].pid;
}
} else if (es_type == SPU_ES) {
......
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