[vlc-commits] bluray: fix copy-paste error

Petri Hintukainen git at videolan.org
Tue Mar 8 09:25:44 CET 2016


vlc | branch: master | Petri Hintukainen <phintuka at gmail.com> | Tue Mar  8 09:56:50 2016 +0200| [21d8776f05c417cfc26443c280b4708b55c1c311] | committer: Jean-Baptiste Kempf

bluray: fix copy-paste error

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=21d8776f05c417cfc26443c280b4708b55c1c311
---

 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) {



More information about the vlc-commits mailing list