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

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Feb 20 19:08:25 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++)

Patch applied.

Carl Eugen



More information about the MPlayer-dev-eng mailing list