[libdvdnav-devel] [PATCH] libdvdread: remove unused variables; cleanup return syntax
Jean-Baptiste Kempf
jb at videolan.org
Thu Apr 17 15:32:53 CEST 2014
More or less applied.
Le 15/04/2014 21:28, Steve Dibb a écrit :
> diff --git a/src/dvd_udf.c b/src/dvd_udf.c
> index dc5f9af..678a984 100644
> --- a/src/dvd_udf.c
> +++ b/src/dvd_udf.c
> @@ -416,12 +416,12 @@ 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 */
> - if (lbsize != DVD_VIDEO_LB_LEN) return 1;
> + if (lbsize != DVD_VIDEO_LB_LEN)
> + return 1;
> +
> return 0;
> }
>
> _______________________________________________
> libdvdnav-devel mailing list
> libdvdnav-devel at videolan.org
> https://mailman.videolan.org/listinfo/libdvdnav-devel
>
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the libdvdnav-devel
mailing list