[vlc-commits] access: dvdread: fix broken titles count
Francois Cartegnie
git at videolan.org
Wed Jan 8 19:29:49 CET 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jan 8 11:09:29 2020 +0100| [87609036e170e74ce6a50594572692f4ec5a25eb] | committer: Francois Cartegnie
access: dvdread: fix broken titles count
regression by cdda541f8b80898c36b34db4d6bb1e319232b157
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=87609036e170e74ce6a50594572692f4ec5a25eb
---
modules/access/dvdread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/dvdread.c b/modules/access/dvdread.c
index 7b3a4a3694..0d41e5f8f6 100644
--- a/modules/access/dvdread.c
+++ b/modules/access/dvdread.c
@@ -389,7 +389,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
*ppp_title = vlc_alloc( p_sys->i_titles, sizeof(input_title_t *) );
if(!*ppp_title)
return VLC_EGENERIC;
- for (i = 0; i < p_sys->i_title; i++)
+ for (i = 0; i < p_sys->i_titles; i++)
{
input_title_t *p_dup = vlc_input_title_Duplicate(p_sys->titles[i]);
if(p_dup)
More information about the vlc-commits
mailing list