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

Jean-Baptiste Kempf jb at videolan.org
Fri Oct 24 15:27:24 CEST 2014


On 24 Oct, Diego Biurrun wrote :
> 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?

Yes.
 2013 supports it, and supports stdint.h
 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the libdvdnav-devel mailing list