[MPlayer-dev-eng] [PATCH] fencepost error in stream_dvdnav.c

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Feb 16 10:39:22 CET 2011


Mike Castle <dalgoda+mplayer <at> gmail.com> writes:

> +++ stream/stream_dvdnav.c	(working copy)
> @@ -524,7 +524,7 @@
>    uint32_t titles=0, i;
>    if(p->track <= 0) {
>      dvdnav_get_number_of_titles(priv->dvdnav, &titles);
> -    for(i=0; i<titles; i++)
> +    for(i=1; i<=titles; i++)

I will apply this if nobody objects.

CE



More information about the MPlayer-dev-eng mailing list