diff options
Diffstat (limited to 'src/input/libdvdread')
-rw-r--r-- | src/input/libdvdread/ifo_read.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/input/libdvdread/ifo_read.c b/src/input/libdvdread/ifo_read.c index 9654ae7eb..c8379fb39 100644 --- a/src/input/libdvdread/ifo_read.c +++ b/src/input/libdvdread/ifo_read.c @@ -1655,6 +1655,17 @@ static int ifoRead_VTS_ATTRIBUTES(ifo_handle_t *ifofile, return 1; } +void hexdump (uint8_t *buf, int size) { + int i; + + for (i=0; i<size; i++) { + printf ("%02x ", buf[i]); + if ( (i%8)==7) + printf ("\n"); + } + printf ("\n"); + +} int ifoRead_VTS_ATRT(ifo_handle_t *ifofile) { @@ -1687,6 +1698,8 @@ int ifoRead_VTS_ATRT(ifo_handle_t *ifofile) { return 0; } + hexdump (vts_atrt, VTS_ATRT_SIZE); + B2N_16(vts_atrt->nr_of_vtss); B2N_32(vts_atrt->last_byte); |