[DVDnav-discuss] r1194 - trunk/libdvdread/src/dvd_udf.c
nicodvb
subversion at mplayerhq.hu
Fri May 28 15:24:16 CEST 2010
Author: nicodvb
Date: Fri May 28 15:24:16 2010
New Revision: 1194
Log:
fixed buffer size dimension in UDFGetPVD(); patch A00 by John Stebbins
Modified:
trunk/libdvdread/src/dvd_udf.c
Modified: trunk/libdvdread/src/dvd_udf.c
==============================================================================
--- trunk/libdvdread/src/dvd_udf.c Thu May 27 17:26:27 2010 (r1193)
+++ trunk/libdvdread/src/dvd_udf.c Fri May 28 15:24:16 2010 (r1194)
@@ -930,7 +930,7 @@ static int UDFGetPVD(dvd_reader_t *devic
if(GetUDFCache(device, PVDCache, 0, pvd))
return 1;
- if(!UDFGetDescriptor( device, 1, pvd_buf, sizeof(pvd_buf)))
+ if(!UDFGetDescriptor( device, 1, pvd_buf, DVD_VIDEO_LB_LEN))
return 0;
memcpy(pvd->VolumeIdentifier, &pvd_buf[24], 32);
More information about the DVDnav-discuss
mailing list