[libdvdnav-devel] [PATCH 2/2] dvd_udf: Remove some set but not used variables

Diego Biurrun diego at biurrun.de
Mon Dec 2 04:36:05 CET 2013


On Sat, Nov 30, 2013 at 08:04:52PM +0100, Jean-Baptiste Kempf wrote:
> On 30 Nov, Diego Biurrun wrote :
> > --- a/src/dvd_udf.c
> > +++ b/src/dvd_udf.c
> > @@ -415,11 +415,9 @@ static int UDFPartition( uint8_t *data, uint16_t *Flags, uint16_t *Number,
> >   */
> >  static int UDFLogVolume( uint8_t *data, char *VolumeDescriptor )
> >  {
> > -  uint32_t lbsize, MT_L, N_PM;
> > +  uint32_t lbsize;
> >    Unicodedecode(&data[84], 128, VolumeDescriptor);
> >    lbsize = GETN4(212);  /* should be 2048 */
> > -  MT_L = GETN4(264);    /* should be 6 */
> > -  N_PM = GETN4(268);    /* should be 1 */
> 
> Any idea WTF are those values?

No, I wondered myself.  One should probably consult some DVD spec.

Diego


More information about the libdvdnav-devel mailing list