[DVDnav-discuss] [PATCH] Patch 1/5: Resend

Diego Biurrun diego at biurrun.de
Tue Oct 21 09:31:12 CEST 2008


On Sun, Oct 12, 2008 at 09:29:21PM +0900, Jorgen Lundman wrote:
>
> GETN4 changed to GETN8
>
> --- dvd_udf.c	(revision 1157)
> +++ dvd_udf.c	(working copy)
> @@ -429,38 +472,65 @@
>  
>      switch( flags & 0x0007 ) {
> -    case 0: UDFShortAD( &data[ p ], ad, partition ); p += 8;  break;
> -    case 1: UDFLongAD( &data[ p ], ad );  p += 16; break;
> -    case 2: UDFExtAD( &data[ p ], ad );   p += 20; break;
> +    case 0:
> +      UDFShortAD( &data[ p ], ad, partition );
> +      p += 8;
> +      break;
> +    case 1:
> +      UDFLongAD( &data[ p ], ad );
> +      p += 16;
> +      break;
> +    case 2:
> +      UDFExtAD( &data[ p ], ad );
> +      p += 20;
> +      break;

cosmetics

>      case 3:
>        switch( L_AD ) {
> -      case 8:  UDFShortAD( &data[ p ], ad, partition ); break;
> -      case 16: UDFLongAD( &data[ p ], ad );  break;
> -      case 20: UDFExtAD( &data[ p ], ad );   break;
> +      case 8:
> +        UDFShortAD( &data[ p ], ad, partition );
> +        break;
> +      case 16:
> +        UDFLongAD( &data[ p ],  ad );
> +        break;
> +      case 20:
> +        UDFExtAD( &data[ p ], ad );
> +        break;

cosmetics

>      default:
> -      p += L_AD; break;
> +      p += L_AD;
> +      break;

cosmetics

Nico, do you want these committed separately or not at all?

Diego



More information about the DVDnav-discuss mailing list