[libdvdnav-devel] libdvdread: remove unused variables; cleanup return syntax
Steve Dibb
git at videolan.org
Thu Apr 17 15:32:27 CEST 2014
libdvdread | branch: master | Steve Dibb <beandog at gentoo.org> | Tue Apr 15 13:28:33 2014 -0600| [0538a5dbecc917c409c7ec62a7ff32b02ba1eb73] | committer: Jean-Baptiste Kempf
libdvdread: remove unused variables; cleanup return syntax
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/libdvdread.git/?a=commit;h=0538a5dbecc917c409c7ec62a7ff32b02ba1eb73
---
src/dvd_udf.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/dvd_udf.c b/src/dvd_udf.c
index dc5f9af..1f72e2c 100644
--- a/src/dvd_udf.c
+++ b/src/dvd_udf.c
@@ -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;
}
More information about the libdvdnav-devel
mailing list