[libdvdnav-devel] [PATCH 2/2] src/ifo_read.c: Reduce the scope of some variables

Diego Biurrun diego at biurrun.de
Fri Oct 24 10:44:27 CEST 2014


On Fri, Oct 24, 2014 at 04:08:47AM +0200, Jean-Baptiste Kempf wrote:
> 
> On 23 Oct, Andrew Clayton wrote :
> > The unsigned int i variable in ifoRead_PTL_MAIT(), ifoRead_VTS_TMAPT()
> > and ifoRead_PGCI_UT() can be moved into the second if block in each
> > case.
> 
> You could even use it directly in the for().

MSVC used to choke on that.  Is it fixed in the shiny new C99-supporting
version?

Diego


More information about the libdvdnav-devel mailing list