[vlc-devel] [PATCH] bluray: fix copy-paste error

Petri Hintukainen phintuka at gmail.com
Tue Mar 8 08:56:50 CET 2016


---
 modules/access/bluray.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 35c7dfd..79cdd13 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -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) {
-- 
2.5.0



More information about the vlc-devel mailing list