Commit 0538a5db authored by Steve Dibb's avatar Steve Dibb Committed by Jean-Baptiste Kempf

libdvdread: remove unused variables; cleanup return syntax

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent d65889e7
......@@ -416,12 +416,14 @@ 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;
/* MT_L = GETN4(264); */ /* should be 6 */
/* N_PM = GETN4(268); */ /* should be 1 */
if (lbsize != DVD_VIDEO_LB_LEN)
return 1;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment