diff options
Diffstat (limited to 'libhb/dvdnav.c')
-rw-r--r-- | libhb/dvdnav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c index 9217f7dba..0d741b05e 100644 --- a/libhb/dvdnav.c +++ b/libhb/dvdnav.c @@ -1979,7 +1979,7 @@ static int NextPgcn( ifo_handle_t *ifo, int pgcn, uint32_t pgcn_map[MAX_PGCN/32] **********************************************************************/ static void PgcWalkInit( uint32_t pgcn_map[MAX_PGCN/32] ) { - memset(pgcn_map, 0, sizeof(pgcn_map) ); + memset(pgcn_map, 0, sizeof(uint32_t) * MAX_PGCN/32); } /*********************************************************************** |